\Hazaar\DBI\DBD
BaseDriver
Abstract
Relational Database Driver - Base Class
Summary
Methods Properties Constants
No constants
Properties
$allow_constraints
$allow_constraints
Static
$execs
$execs
$pdo
$pdo
$quote_special
$quote_special
$reserved_words
$reserved_words
$schema
$schema
Methods
__construct()
__construct($config)

Parameters

$config

No description

addColumn()
addColumn($table, $column_spec)

Parameters

$table

No description

$column_spec

No description

addConstraint()
addConstraint($name, $info)

Parameters

$name

No description

$info

No description

alterColumn()
alterColumn($table, $column, $column_spec)

Parameters

$table

No description

$column

No description

$column_spec

No description

beginTransaction()
beginTransaction()
commit()
commit()
connect()
connect($dsn, $username = null, $password = null, $driver_options = Array ( ) )

Parameters

$dsn

No description

$username

No description

$password

No description

$driver_options

No description

createIndex()
createIndex($index_name, $idx_info)

Parameters

$index_name

No description

$idx_info

No description

createTable()
createTable($name, $columns)

Parameters

$name

No description

$columns

No description

delete()
delete($table, $criteria)

Parameters

$table

No description

$criteria

No description

deleteAll()
deleteAll($table)

Parameters

$table

No description

describeSequence()
describeSequence($name)

Parameters

$name

No description

describeTable()
describeTable($name, $sort = null)

Parameters

$name

No description

$sort

No description

dropColumn()
dropColumn($table, $column)

Parameters

$table

No description

$column

No description

dropConstraint()
dropConstraint($name, $table)

Parameters

$name

No description

$table

No description

dropIndex()
dropIndex($name)

Parameters

$name

No description

dropTable()
dropTable($name)

Parameters

$name

No description

errorCode()
errorCode()
errorInfo()
errorInfo()
exec()
exec($sql)

Parameters

$sql

No description

execCount()
execCount()
field()
field($string)

Parameters

$string

No description

getAttribute()
getAttribute($attribute)

Parameters

$attribute

No description

getSchemaName()
getSchemaName()
inTransaction()
inTransaction()
insert()
insert($table, $fields, $returning = true)

Parameters

$table

No description

$fields

No description

$returning

No description

lastInsertId()
lastInsertId()
listConstraints()
listConstraints($table = null, $type = null, $invert_type = false)

Parameters

$table

No description

$type

No description

$invert_type

No description

listIndexes()
listIndexes($table = null)

Parameters

$table

No description

listSequences()
listSequences()
listTables()
listTables()
prepare()
prepare($sql)

Parameters

$sql

No description

prepareCriteria()
prepareCriteria($criteria, $bind_type = 'AND', $tissue = '=', $parent_ref = null)

Parameters

$criteria

No description

$bind_type

No description

$tissue

No description

$parent_ref

No description

prepareFields()
prepareFields($fields)

Parameters

$fields

No description

prepareValue()
prepareValue($value)

Parameters

$value

No description

query()
query($sql)

Parameters

$sql

No description

quote()
quote($string)

Parameters

$string

No description

renameTable()
renameTable($from_name, $to_name)

Parameters

$from_name

No description

$to_name

No description

rollBack()
rollBack()
setAttribute()
setAttribute($attribute, $value)

Parameters

$attribute

No description

$value

No description

tableExists()
tableExists($table)

Parameters

$table

No description

type()
type($string)

Parameters

$string

No description

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

Parameters

$table

No description

$fields

No description

$criteria

No description