TSqlMapStatement class corresponds to <statement> element.
Mapped Statements can hold any SQL statement and can use Parameter Maps and Result Maps for input and output.
The <statement> element is a general "catch all" element that can be used for any type of SQL statement. Generally it is a good idea to use one of the more specific statement-type elements. The more specific elements provided better error-checking and even more functionality. (For example, the insert statement can return a database-generated key.)
Located in /Data/SqlMap/Configuration/TSqlMapStatement.php (line 31)
TComponent | --TSqlMapStatement
Class | Description |
---|---|
TSqlMapSelect | TSqlMapSelect class file. |
TSqlMapInsert | TSqlMapInsert class corresponds to the <insert> element. |
TSqlMapUpdate | TSqlMapUpdate class corresponds to <update> element. |
TSqlMapSelectKey | TSqlMapSelect corresponds to the <selectKey> element. |
Create a new instance of a given type.
Create a new instance of result class.
An ArrayAccess class can be specified to handle the type of objects in the collection.
If a ParameterMap property is not specified, you may specify a ParameterClass instead and use inline parameters.
The value of the parameterClass attribute can be any existing PHP class name.
A Parameter Map defines an ordered list of values that match up with the "?" placeholders of a standard, parameterized query statement.
If a ResultMap is not specified, you may specify a
ResultClass instead. The value of the ResultClass property can be the name of a PHP class or primitives like integer, string, or array. The class specified will be automatically mapped to the columns in the result, based on the result metadata.
A Result Map lets you control how data is extracted from the result of a query, and how the columns are mapped to object properties.
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 Mon, 21 Apr 2008 11:36:19 -0400 by phpDocumentor 1.3.0RC4