Update README
This commit is contained in:
parent
9acb171729
commit
1344f2fb85
@ -47,7 +47,14 @@ 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 `insert_batch` or `update_batch` 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 `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:
|
An example of a moderately complex query:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user