Update dREADME
This commit is contained in:
parent
25e278df64
commit
11d8ca1520
@ -45,7 +45,9 @@ The parameters required depend on the database.
|
|||||||
### Running Queries
|
### Running Queries
|
||||||
Query uses the same interface as CodeIgniter's [Active Record class](http://codeigniter.com/user_guide/database/active_record.html). However, it does not implement the `select_` methods, `count_all_results`, `distinct`, `having`, `or_having`, `get_compiled_query`, `insert_batch`, `update_batch`, or `count_all` methods.
|
Query uses the same interface as CodeIgniter's [Active Record class](http://codeigniter.com/user_guide/database/active_record.html). However, it does not implement the `select_` methods, `count_all_results`, `distinct`, `having`, `or_having`, `get_compiled_query`, `insert_batch`, `update_batch`, or `count_all` methods.
|
||||||
|
|
||||||
To retreive the results of a query, use the PDO methods `fetch` and `fetchAll`.
|
#### Retrieving Results
|
||||||
|
|
||||||
|
To retreive the results of a query, use the PDO methods: [fetch](http://php.net/manual/en/pdostatement.fetch.php) and / or [fetchAll](http://php.net/manual/en/pdostatement.fetchall.php).
|
||||||
|
|
||||||
$query = $db->get('table_name');
|
$query = $db->get('table_name');
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user