Table meta data for Active Record.
TDbMetaData is the base class for database vendor specific that builds the appropriate database commands for active record finder and commit methods.
Located in /Data/ActiveRecord/Vendor/TDbMetaData.php (line 25)
TComponent | --TDbMetaData
| Class | Description |
|---|---|
| TDbMetaDataCommon | Common database command: insert, update, select and delete. |
Initialize the meta data.
Bind a list of variables in the command. The named parameters is taken from the values of the $keys parameter. The bind value is taken from the $values parameter using the index taken from the each value of $keys array.
Bind parameter values.
Create a new database command based on the given $sql and bind the named parameters given by $names with values corresponding in $values.
Creates a new database command and bind the values from the criteria object.
Construct a "pk IN ('key1', 'key2', ...)" criteria.
Gets the columns that can be inserted into the database.
Gets the comma delimited string of fields name for insert command.
Gets the comma delimited string of name bindings for insert command.
Returns a list of name value pairs from the object.
Construct search criteria using primary key names
Gets the columns that will be updated, it exculdes primary key columns and record properties that are null.
Gets a comma delimited string of name parameters for update.
Post process the rows after returning from a 1 row query.
Post process the rows after returning from a 1 row query.
Inherited From TComponent
TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__get()
TComponent::__set()
Documentation generated on Sun, 14 Jan 2007 21:42:15 -0500 by phpDocumentor 1.3.0RC4