Class Horde_Db_Adapter_Pdo_Base
- Horde_Db_Adapter_Base implements Horde_Db_Adapter
- Horde_Db_Adapter_Pdo_Base
Direct known subclasses
Horde_Db_Adapter_Pdo_Mysql, Horde_Db_Adapter_Pdo_Pgsql, Horde_Db_Adapter_Pdo_Sqlite
Abstract
Package: Db\Adapter
Category: Horde
License: http://www.horde.org/licenses/bsd
Author: Mike Naberezny mike@maintainable.com
Author: Derek DeVries derek@maintainable.com
Author: Chuck Hagenbuch chuck@horde.org
Located at Horde/Db/Adapter/Pdo/Base.php
Package: Db\Adapter
Category: Horde
License: http://www.horde.org/licenses/bsd
Author: Mike Naberezny mike@maintainable.com
Author: Derek DeVries derek@maintainable.com
Author: Chuck Hagenbuch chuck@horde.org
Located at Horde/Db/Adapter/Pdo/Base.php
public
|
|
public
boolean
|
|
public
array
|
|
public
array|boolean
|
|
public
string
|
#
selectValue( string $sql, mixed $arg1 = null, string $arg2 = null )
Returns a single value from a record |
public
array
|
#
selectValues( string $sql, mixed $arg1 = null, string $arg2 = null )
Returns an array of the values of the first column in a select: selectValues("SELECT id FROM companies LIMIT 3") => [1,2,3] |
public
array
|
#
selectAssoc( string $sql, mixed $arg1 = null, string $arg2 = null )
Returns an array where the keys are the first column of a select, and the values are the second column: |
public
string
|
#
quoteString( string $string )
Quotes a string, escaping any ' (single quote) and \ (backslash) characters.. |