Method |
Description |
|
command ( ) : string |
Build the SQL statement. |
|
delete ( $table, $where = null ) : boolean |
Abstraction for delete. |
|
distinct ( ) : object |
API for ". |
|
fetchAs ( string $returnType = 'object' ) : object |
Flag to get return type. The options is: object, array and iterator. |
|
from ( ) : object |
API for ". |
|
getAll ( $table = false, $where = [], $fields = [], $returnType = false ) : object |
Previously called get_results. |
|
getLastQuery ( ) : string |
Get last query. |
|
getOne ( $table = false, $where = [], $fields = [], $returnType = false ) : object |
Previously called get_row. |
|
getVar ( $query = null ) : string | integer |
Get value directly from single field. Previusly called get_var(). |
|
groupBy ( ) : object |
API for ". |
|
having ( string $column, string $operator, string $value, mix $separator = false ) |
API for ". |
|
insert ( string $table, array $data = [] ) : boolean |
Abstraction for insert. |
|
join ( string $table, string $type = null ) |
API for ". |
|
limit ( $limit, $offset = null ) : object |
API for ". |
|
on ( string $column, string $operator, string $value, mix $separator = false ) |
API for ". |
|
orderBy ( $column, $order = null ) : object |
API for ". |
|
select ( ) : object |
API for "SELECT . |
|
setThrowError ( boolean $set = false ) |
Throw the error instead handle it automaticly. |
|
update ( string $table, array $dat, array $where = null ) : boolean |
Abstraction for update. |
|
where ( string $column, string $operator, string $value, string $separator = false ) : object |
API for ". |
|