Skip to content

Commit 28653fc

Browse files
committed
Updated docs
1 parent d52480d commit 28653fc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

readme.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,13 @@ $results = $Db->query('SELECT * from posts');
6969
print_r($results); // contains array of returned rows
7070
</code>
7171
</pre>
72+
73+
<h3> Where Method </h3>
74+
<p>This method allows you to specify the parameters of the query. For now, it only accepts one key => value pair. </p>
75+
<pre>
76+
<code>
77+
$Db->where('id', int);
78+
$results = $Db->get('tableName');
79+
print_r($results); // contains array of returned rows
80+
</code>
81+
</pre>

0 commit comments

Comments
 (0)