Commit 0f3c14d1 authored by Josh Campbell's avatar Josh Campbell

Update readme and remove changelog

parent b49872e1
<h3>Change Log</h3>
<p>Branch off master</p>
<ul>
<li>Changed package name to MySqliDb. This is a MySQLi wrapper.</li>
<li>Added support for multiple dynamicly bound where conditions.</li>
<li>Added state resetting after each query exicution to allow multiple calls to the same connection instance.</li>
<li>Added the ability to staticly retreive the current instance.</li>
<li>Added numRows support to the query method.</li>
<li>The triggered error in _prepareQuery() now also displays the SQL statment and the mysqli error message.</li>
</ul>
\ No newline at end of file
......@@ -102,7 +102,8 @@ $results = $db->get('tableName');
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:
$results = $db->where('id', 1)
$results = $db
->where('id', 1)
->where('title', 'MyTitle')
->get('tableName');
print_r($results); // contains array of returned rows
......
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