Inherits PntDao.
Inherited by PntQueryHandler.
|
| getDbmsName () |
|
| _runQuery ($error="Query error") |
|
| logQuery ($sql) |
|
| getFieldNames () |
|
| dataSeek ($index) |
|
| getSingleValue ($query='', $error="Query error") |
|
| convertToSql ($value) |
|
| convertConditionArgumentToSql ($value) |
|
| quote ($string) |
|
| getAssocRows ($max=null) |
|
| getAssocRow () |
|
| release () |
|
| connect () |
|
| beginTransaction () |
|
| commit () |
|
| rollBack () |
|
| __construct ($connection=null) |
|
| getDbmsName () |
|
| supportsSelectRowCount () |
|
| runQuery ($query='', $error="Query error") |
|
| _runQuery ($error="Query error") |
|
| getFieldNames () |
|
| getRowCount () |
|
| getColumnCount () |
|
| getError () |
|
| getErrNo () |
|
| dataSeek ($index) |
|
| getSingleValue ($query='', $error="Query error") |
|
| getInsertId () |
|
| prefixColumnNames ($colNames, $prefix) |
|
| select_from ($columnNames, $tableName, $distinct=false) |
|
| where_equals ($columnName, $value, $placeholder='?') |
|
| limit ($rowCount, $offset=0) |
|
| joinAllById ($tableMap, $baseTable) |
|
| in ($columnName, $values) |
|
| convertToSql ($value) |
|
| convertConditionArgumentToSql ($value) |
|
| quote ($string) |
|
| setQueryToInsertObject_table_fieldMap ($anObject, $tableName, $fieldMap) |
|
| setQueryToSaveObject_table_fieldMap ($anObject, $tableName, $fieldMap, $insert) |
|
| setQueryToDeleteFrom_where_equals ($tableName, $columnName, $value) |
|
| addSqlFromSpec ($spec, $groupBy=false) |
|
| getAssocRows ($max=null) |
|
| getAssocRow () |
|
| release () |
|
| getConnection () |
|
| setConnection ($value) |
|
| setDefaultConnection () |
|
| connect () |
|
| beginTransaction () |
|
| commit () |
|
| rollBack () |
|
| param ($value, $placeholder='?') |
|
| clearParams () |
|
| replacePlaceholders () |
|
| addFieldPropsTo_table ($obj, $tableName, $includeList=null) |
|
| addFieldPropTo_row ($obj, $row) |
|
| getPropertyType ($mySqlType) |
|
_runQuery |
( |
|
$error = "Query error" | ) |
|
Connects to the DBMS and selects the database Stores the resulting resource on $this->connection PRECONDITION: $this->connection must be a valid DatabaseConnection instance
convertConditionArgumentToSql |
( |
|
$value | ) |
|
Gets next row as associative array, or false if none
getAssocRows |
( |
|
$max = null | ) |
|
Gets rows starting at current pointer position !Does no longer Reset record pointer
- Parameters
-
number | $max | The maximum number of rows to get. If null all remaining rows are returned. Returns an array of associative row arrays (indexed[rowIndex][rowName]) |
getSingleValue |
( |
|
$query = '' , |
|
|
|
$error = "Query error" |
|
) |
| |
connect can take long to fail on PHP5.3.0, and on windows the time spent is counted as execution time. This value will be set using set_time_limit if time_limit is lower on windows
The documentation for this class was generated from the following file: