Properties

$pdo

$pdo

$type

$type

$prefix

$prefix

$statement

$statement

$dsn

$dsn

$logs

$logs

$logging

$logging

$debug_mode

$debug_mode

$guid

$guid

$errorInfo

$errorInfo

Methods

__construct()

__construct(array  $options) : mixed

Parameters

array $options

Returns

mixed —

create()

create(mixed  $table, mixed  $columns, mixed  $options = null) : mixed

Parameters

mixed $table
mixed $columns
mixed $options

Returns

mixed —

query()

query(mixed  $query, mixed  $map = []) : mixed

Parameters

mixed $query
mixed $map

Returns

mixed —

raw()

raw(mixed  $string, mixed  $map = []) : mixed

Parameters

mixed $string
mixed $map

Returns

mixed —

exec()

exec(mixed  $query, mixed  $map = []) : mixed

Parameters

mixed $query
mixed $map

Returns

mixed —

quote()

quote(mixed  $string) : mixed

Parameters

mixed $string

Returns

mixed —

drop()

drop(mixed  $table) : mixed

Parameters

mixed $table

Returns

mixed —

insert()

insert(mixed  $table, mixed  $datas) : mixed

Parameters

mixed $table
mixed $datas

Returns

mixed —

update()

update(mixed  $table, mixed  $data, mixed  $where = null) : mixed

Parameters

mixed $table
mixed $data
mixed $where

Returns

mixed —

delete()

delete(mixed  $table, mixed  $where) : mixed

Parameters

mixed $table
mixed $where

Returns

mixed —

replace()

replace(mixed  $table, mixed  $columns, mixed  $where = null) : mixed

Parameters

mixed $table
mixed $columns
mixed $where

Returns

mixed —

get()

get(mixed  $table, mixed  $join = null, mixed  $columns = null, mixed  $where = null) : mixed

Parameters

mixed $table
mixed $join
mixed $columns
mixed $where

Returns

mixed —

has()

has(mixed  $table, mixed  $join, mixed  $where = null) : mixed

Parameters

mixed $table
mixed $join
mixed $where

Returns

mixed —

rand()

rand(mixed  $table, mixed  $join = null, mixed  $columns = null, mixed  $where = null) : mixed

Parameters

mixed $table
mixed $join
mixed $columns
mixed $where

Returns

mixed —

select()

select(mixed  $table, mixed  $join, mixed  $columns = null, mixed  $where = null) : mixed

Parameters

mixed $table
mixed $join
mixed $columns
mixed $where

Returns

mixed —

count()

count(mixed  $table, mixed  $join = null, mixed  $column = null, mixed  $where = null) : mixed

Parameters

mixed $table
mixed $join
mixed $column
mixed $where

Returns

mixed —

avg()

avg(mixed  $table, mixed  $join, mixed  $column = null, mixed  $where = null) : mixed

Parameters

mixed $table
mixed $join
mixed $column
mixed $where

Returns

mixed —

max()

max(mixed  $table, mixed  $join, mixed  $column = null, mixed  $where = null) : mixed

Parameters

mixed $table
mixed $join
mixed $column
mixed $where

Returns

mixed —

min()

min(mixed  $table, mixed  $join, mixed  $column = null, mixed  $where = null) : mixed

Parameters

mixed $table
mixed $join
mixed $column
mixed $where

Returns

mixed —

sum()

sum(mixed  $table, mixed  $join, mixed  $column = null, mixed  $where = null) : mixed

Parameters

mixed $table
mixed $join
mixed $column
mixed $where

Returns

mixed —

action()

action(mixed  $actions) : mixed

Parameters

mixed $actions

Returns

mixed —

id()

id() : mixed

Returns

mixed —

debug()

debug() : mixed

Returns

mixed —

error()

error() : mixed

Returns

mixed —

last()

last() : mixed

Returns

mixed —

log()

log() : mixed

Returns

mixed —

info()

info() : mixed

Returns

mixed —

generate()

generate(mixed  $query, mixed  $map) : mixed

Parameters

mixed $query
mixed $map

Returns

mixed —

whereClause()

whereClause(mixed  $where, mixed  $map) : mixed

Parameters

mixed $where
mixed $map

Returns

mixed —

arrayQuote()

arrayQuote(mixed  $array) : mixed

Parameters

mixed $array

Returns

mixed —

selectContext()

selectContext(mixed  $table, mixed  $map, mixed  $join, mixed  $columns = null, mixed  $where = null, mixed  $column_fn = null) : mixed

Parameters

mixed $table
mixed $map
mixed $join
mixed $columns
mixed $where
mixed $column_fn

Returns

mixed —

buildJoin()

buildJoin(mixed  $table, mixed  $join) : mixed

Parameters

mixed $table
mixed $join

Returns

mixed —

columnPush()

columnPush(mixed  $columns, mixed  $map, mixed  $root, mixed  $is_join = false) : mixed

Parameters

mixed $columns
mixed $map
mixed $root
mixed $is_join

Returns

mixed —

columnMap()

columnMap(mixed  $columns, mixed  $stack, mixed  $root) : mixed

Parameters

mixed $columns
mixed $stack
mixed $root

Returns

mixed —

dataMap()

dataMap(mixed  $data, mixed  $columns, mixed  $column_map, mixed  $stack, mixed  $root, mixed  $result) : mixed

Parameters

mixed $data
mixed $columns
mixed $column_map
mixed $stack
mixed $root
mixed $result

Returns

mixed —

innerConjunct()

innerConjunct(mixed  $data, mixed  $map, mixed  $conjunctor, mixed  $outer_conjunctor) : mixed

Parameters

mixed $data
mixed $map
mixed $conjunctor
mixed $outer_conjunctor

Returns

mixed —

dataImplode()

dataImplode(mixed  $data, mixed  $map, mixed  $conjunctor) : mixed

Parameters

mixed $data
mixed $map
mixed $conjunctor

Returns

mixed —

mapKey()

mapKey() : mixed

Returns

mixed —

columnQuote()

columnQuote(mixed  $string) : mixed

Parameters

mixed $string

Returns

mixed —

buildRaw()

buildRaw(mixed  $raw, mixed  $map) : mixed

Parameters

mixed $raw
mixed $map

Returns

mixed —

isRaw()

isRaw(mixed  $object) : mixed

Parameters

mixed $object

Returns

mixed —

tableQuote()

tableQuote(mixed  $table) : mixed

Parameters

mixed $table

Returns

mixed —

typeMap()

typeMap(mixed  $value, mixed  $type) : mixed

Parameters

mixed $value
mixed $type

Returns

mixed —

aggregate()

aggregate(mixed  $type, mixed  $table, mixed  $join = null, mixed  $column = null, mixed  $where = null) : mixed

Parameters

mixed $type
mixed $table
mixed $join
mixed $column
mixed $where

Returns

mixed —