DBIx:: StORM:: RecordSet
Summary
_do_parse (private instance)Inspect a filter target (may be a string for code reference) and decide how best to handle it. If it’s a SQL string, it’ll be fine as-is (it’s up to you to make sure it works!) whilst if it’s a perl CV it’ll need parsing into SQL and caching for next time. Parameters
Returns
=end NaturalDocs filter (public instance)Create a DBIx::StORM::FilteredRecordSet to represent a filtered set of results from the database. The filter is usually a perl subroutine reference with the filtering logic in it, but could be a SQL WHERE component where use of perl isn’t appropriate. Parameters
Returns
=end NaturalDocs sort (public instance)Create a DBIx::StORM::OrderedRecordSet to represent the same records as in this object, but sorted into a particular order. The filter is usually a perl subroutine reference with the filtering logic in it, but could be a SQL ORDER BY component where use of perl isn’t appropriate. Parameters
Returns
=end NaturalDocs view (instance)Create a DBIx::StORM::RecordSetWithView to represent a set of results from the database with computed columns Parameters
ReturnsAn object of type DBIx::StORM::OrderedRecordSet lookup (instance)Fetch the first row from this RecordSet, and optionally fetch a particular field from it. Parameters
ReturnsAn object of type DBIx::StORM::Record if no field is supplied or the field is a foreign key, otherwise a simple scalar _table (private instance)Fetch the table object underlying this RecordSet ParametersNone Returns
_as_array (private instance)Actually do the query, and return a tied array that can be used to access the DBIx::StORM::Record objects. A tied array is used as it means a maximum of two result objects are kept in memory at once, but does mean you can’t randomly access or otherwise tweak the array ParametersNone Returns
array (instance)Actually do the query, and return an array of DBIx::StORM::Record objects. Unlike the array dereference, this returns a proper perl array rather than a tied array. This means you can randomly access the results, but it also takes a lot of memory ParametersNone Returns
_storm (private instance)Get the DBIx::StORM object this result set was created using ParametersNone Returns
|
sub _as_string
sub update
sub delete
sub _do_binding