Update README

This commit is contained in:
Timothy Warren 2012-04-25 10:43:39 -04:00
parent 9acb171729
commit 1344f2fb85
1 changed files with 8 additions and 1 deletions

View File

@ -47,7 +47,14 @@ 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 `insert_batch` or `update_batch` methods.
#### Retrieving Results
####You can also run queries manually.
To run a prepared statement, call
`$db->prepare_execute($sql, $params)`.
To run a plain query, `$db->query($sql)`
### Retrieving Results:
An example of a moderately complex query: