Function Index
Fetch the configuration hash Fetch the glob which contains the configuration hash Return an active DBIx::StORM object for this class. Actually do the query, and return a tied array that can be used to access the DBIx::StORM::Record objects.
A string representation of the Record, used for overloading. Fetch a tied hash map of table name to DBIx::StORM::Table objects. Used by overloading to provide hash-reference access. Turn a string column name into a fully qualified content path, and also check to see if it’s a foreign key lookup and fetch the result if so.
Write a debugging message to STDERR if the debug level is high enough to warrant showing this message.
Set up the where clause, performing any required variable binding Inspect a filter target (may be a string for code reference) and decide how best to handle it.
Return a set of foreign keys in this table that point to primary keys in other tables.
Fetch a string uniquely identifying this filter All RecordSets need a unique string identifier which is used for caching.
When a foreign key column in a Record from this table is access, this method is called to generate the Record record for the foreign key. Fetch the scalar value of a “simple” (ie. Execute the query and set up a DBI statement handle Actually run the query using the DBI and the SQLDriver and return a result statement handle. Returns all the inflaters registered on this connection. Initialise a newly created object of this class.
Create a new DBIx::StORM::Record object from the RecordSet. Create a new DBIx::StORM::Table object from a connection. Create a new DBIx::StORM::FilteredRecordSet object
Actually parse a perl code reference and turn it into a glob of SQL
This is called by a DBIx::StORM::Record when the content has changed or the column set loaded is incorrect. Recommend a new column for this filter to pre-fetch in future Fetch a list of recommended columns for this filter Fetch the database driver used to perform database-specific functions and optimisations for this connection. As objects in this class are DBIx::StORM::Records too, you cannot directly change the hash entries as this would change the database. Get the DBIx::StORM object this result set was created using Fetch the table object underlying this RecordSet All RecordSets need to be able to quickly fetch the underlying DBIx::StORM::Table object it is derived from.
Add a hint to the key parsing system. Fetch a RecordSet of all the records in the table this class back on to. Actually do the query, and return an array of DBIx::StORM::Record objects. Find Records in another table that have a foreign key that links back to this record. Whether to write changed rows back to the database as soon as possible. Turn a variable value from its B::* module objects into a real perl value.
Configure this class to specify connection and table information Create a new DBIx::StORM object and open a connection to the database using DBI.
Fetch the underlying DBI database handle. Deflate a given set of values for a record into database format.
Check for the existence of a table on a particular connection.
Fetch a DBIx::StORM::Record object for the next result in the RecordSet. Fetch a table object for a particular table in the hash Create a DBIx::StORM::FilteredRecordSet to represent a filtered set of results from the database.
Reset the iterator and return the first hash object. Return a set of foreign keys in this table that point to primary keys in other tables and cache the result. Fetch a hash of all the foreign keys in this table. Fetch a table object using this database connection. Fetch a field from the Record. Filter this DBIx::StORM::RecordSet by applying a result filter. Fetch a RecordSet of all the records in the table this meet the criteria of the filter $sub. Filter this DBIx::StORM::RecordSet using a perl filter. Fetch the record that has a given primary key value. Take a row of data from the database and turn it into an in-memory representation of the row to work with. Add an inflater to the inflation chain for this connection. Insert a new row into the table |