\Hazaar\DBI\DBD
Driver_Interface
Relational Database Driver Interface
Summary
Methods Properties Constants
No properties No constants
Methods
connect()
connect($dsn, $username = null, $password = null, $driver_options = null)

Parameters

$dsn

No description

$username

No description

$password

No description

$driver_options

No description

beginTransaction()
beginTransaction()
commit()
commit()
rollBack()
rollBack()
inTransaction()
inTransaction()
getAttribute()
getAttribute($attribute)

Parameters

$attribute

No description

setAttribute()
setAttribute($attribute, $value)

Parameters

$attribute

No description

$value

No description

lastInsertId()
lastInsertId()
quote()
quote($string)

Parameters

$string

No description

exec()
exec($sql)

Parameters

$sql

No description

query()
query($sql) : \Hazaar\DBI\Result

Parameters

$sql

No description

Returns

\Hazaar\DBI\Result
prepare()
prepare($sql)

Parameters

$sql

No description

insert()
insert($table, $fields, $returning = 'id')

Parameters

$table

No description

$fields

No description

$returning

No description

update()
update($table, $fields, $criteria = Array ( ) )

Parameters

$table

No description

$fields

No description

$criteria

No description

delete()
delete($table, $criteria)

Parameters

$table

No description

$criteria

No description

deleteAll()
deleteAll($table)

Parameters

$table

No description