Property | Type | Description | |
---|---|---|---|
$_schemaClass | string |
Method | Description | |
---|---|---|
adapterName ( ) : string | ||
addLimitOffset ( string $sql, array $options ) : string | Appends LIMIT and OFFSET options to a SQL statement. | |
connect ( ) | Connect to the db. | |
insert ( string $sql, array | string $arg1 = null, string $arg2 = null, string $pk = null, integer $idValue = null, string $sequenceName = null ) : integer | Inserts a row into a table. | |
supportsInsertWithReturning ( ) | ||
supportsMigrations ( ) : boolean | ||
supportsStandardConformingStrings ( ) : boolean | Does PostgreSQL support standard conforming strings? |
Method | Description | |
---|---|---|
_configureConnection ( ) | Configures the encoding, verbosity, and schema search path of the connection. | |
_lastInsertId ( $table, $sequenceName ) | Returns the current ID of a table's sequence. | |
_parseConfig ( ) : array | Parse configuration array into options for PDO constructor. | |
_selectRaw ( $sql, $arg1 = null, $arg2 = null ) |
protected _configureConnection ( ) |
protected _lastInsertId ( $table, $sequenceName ) |
protected _parseConfig ( ) : array | ||
return | array | [dsn, username, password] |
public insert ( string $sql, array | string $arg1 = null, string $arg2 = null, string $pk = null, integer $idValue = null, string $sequenceName = null ) : integer | ||
$sql | string | SQL statement. |
$arg1 | array | string | Either an array of bound parameters or a query name. |
$arg2 | string | If $arg1 contains bound parameters, the query name. |
$pk | string | The primary key column. |
$idValue | integer | The primary key value. This parameter is required if the primary key is inserted manually. |
$sequenceName | string | The sequence name. |
return | integer | Last inserted ID. |
public supportsStandardConformingStrings ( ) : boolean | ||
return | boolean |