메소드 |
설명 |
|
column ( string $query, array $params = NULL, integer $key ) : array | null |
Fetch a column offset from the result set (COUNT() queries) |
|
fetch ( string $query, array $params = NULL, integer $column = NULL ) : array |
Fetch all query result rows |
|
insert ( string $table, array $data ) : integer | null |
Insert a row into the database |
|
pairs ( string $query, array $params = NULL ) : array |
Fetches an associative array of all rows as key-value pairs (first
column is the key, second column is the value). |
|
query ( string $query, array $params = NULL ) : object | null |
Prepare and send a query returning the PDOStatement |
|
row ( string $query, array $params = NULL ) : mixed |
Fetch a single query result row |
|
update ( string $table, array $data, $value, $column = 'id' ) : integer | null |
Update a database row |
|