PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class TSelectMappedStatement

TSelectMappedStatment class.

TComponent
Extended by TMappedStatement implements IMappedStatement
Extended by TSelectMappedStatement
Package: System\Data\SqlMap\Statements
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizho[at]gmail[dot]com>
Since: 3.1
Located at Data/SqlMap/Statements/TSelectMappedStatement.php
Methods summary
public string
# executeInsert( IDbConnection $connection, mixed $parameter )

Execute an insert statement. Fill the parameter object with the ouput parameters if any, also could return the insert generated key.

Execute an insert statement. Fill the parameter object with the ouput parameters if any, also could return the insert generated key.

Parameters

$connection
IDbConnection
database connection
$parameter
mixed
The parameter object used to fill the statement.

Returns

string
the insert generated key.

Overrides

TMappedStatement::executeInsert()
public integer
# executeUpdate( IDbConnection $connection, mixed $parameter )

Execute an update statement. Also used for delete statement. Return the number of rows effected.

Execute an update statement. Also used for delete statement. Return the number of rows effected.

Parameters

$connection
IDbConnection
database connection
$parameter
mixed
The object used to set the parameters in the SQL.

Returns

integer
The number of rows effected.

Overrides

TMappedStatement::executeUpdate()
Methods inherited from TMappedStatement
__construct(), __sleep(), __wakeup(), addResultMapGroupBy(), applyResultMap(), enquequePostSelect(), executePostSelect(), executeQueryForList(), executeQueryForMap(), executeQueryForObject(), executeSQLQueryLimit(), executeSelectKey(), fillArrayResultMap(), fillDefaultResultMap(), fillPropertyWithResultMap(), fillResultArrayList(), fillResultClass(), fillResultMap(), fillResultObjectProperty(), getCommand(), getID(), getManager(), getPostGeneratedSelectKey(), getPostSelectKeys(), getPreGeneratedSelectKey(), getResultMapGroupKey(), getScalarResult(), getSqlString(), getStatement(), initialGroupByResults(), onExecuteQuery(), raiseRowDelegate(), runQueryForList(), runQueryForMap(), runQueryForObject(), setObjectProperty()
Methods inherited from TComponent
__call(), __destruct(), __get(), __isset(), __set(), __unset(), addParsedObject(), asa(), attachBehavior(), attachBehaviors(), attachClassBehavior(), attachEventHandler(), canGetProperty(), canSetProperty(), clearBehaviors(), createdOnTemplate(), detachBehavior(), detachBehaviors(), detachClassBehavior(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), evaluateStatements(), fxAttachClassBehavior(), fxDetachClassBehavior(), getAutoGlobalListen(), getBehaviorsEnabled(), getClassHierarchy(), getEventHandlers(), getListeningToGlobalEvents(), getSubProperty(), hasEvent(), hasEventHandler(), hasProperty(), isa(), listen(), raiseEvent(), setSubProperty(), unlisten()
Constants inherited from TMappedStatement
QUERY_FOR_ARRAY, QUERY_FOR_LIST, QUERY_FOR_OBJECT
Constants inherited from TComponent
GLOBAL_RAISE_EVENT_LISTENER
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO