Метод |
Описание |
|
__construct ( array $config ) |
|
|
affected_rows_count ( mixed $_sql, mixed $data = [] ) |
Database::affected_rows_count()
Get the number of affected rows by the last INSERT, UPDATE, REPLACE or DELETE query |
|
columns_add ( string $table, string $column, string $type, integer $length = null, boolean $null = true, string $default = null ) |
|
|
columns_array ( string $table ) : array |
|
|
dblikeescape ( mixed $value ) |
|
|
from ( string $from = '' ) : Database |
from for the query. |
|
group ( string $group = '' ) : Database |
group for the query. |
|
having ( string $having = '' ) : Database |
having for the query. |
|
insert_id ( $_sql, string $column = '', array $data = [] ) : integer | false |
Insert a row into the database return primary key column |
|
join ( $join_table_on ) : Database |
join for the query. |
|
limit ( integer $limit ) : Database |
sets the limit for the query. |
|
offset ( integer $offset ) : Database |
sets the offset for the query. |
|
order ( string $order = '' ) : Database |
order for the query. |
|
select ( string $select = '' ) : Database |
select for the query. |
|
sql ( ) |
|
|
sqlreset ( ) : Database |
reset query. |
|
where ( string $where = '' ) : Database |
where for the query. |
|