Commit 42499f70 authored by Josh Campbell's avatar Josh Campbell

Updated readme

parent 0f3c14d1
...@@ -101,12 +101,11 @@ $db->where('title', string); ...@@ -101,12 +101,11 @@ $db->where('title', string);
$results = $db->get('tableName'); $results = $db->get('tableName');
print_r($results); // contains array of returned rows print_r($results); // contains array of returned rows
Optionaly you can use method chaining to call where multiple times without calling referancing your object over an over: Optionally you can use method chaining to call where multiple times without referancing your object over an over:
$results = $db $results = $db
->where('id', 1) ->where('id', 1)
->where('title', 'MyTitle') ->where('title', 'MyTitle')
->get('tableName'); ->get('tableName');
print_r($results); // contains array of returned rows
</code> </code>
</pre> </pre>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment