Update dREADME

This commit is contained in:
Timothy Warren 2012-03-19 17:07:54 -04:00
parent 25e278df64
commit 11d8ca1520
2 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@ The parameters required depend on the database.
### 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.
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');

Binary file not shown.