summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorJamie Matthews <[email protected]>2010-10-27 18:40:22 +0100
committerJamie Matthews <[email protected]>2010-10-27 18:40:22 +0100
commit1180dd8b729c0382683b8d02e4bf81a5f0e9a54a (patch)
treee47610f4a3996f71c3dd506443aec62af56831ea /README.markdown
parent3b5f61449023ddcff3a8d026d516ae63c1920bed (diff)
Add where_id_is method, docs and test
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index 6165d82..564de02 100644
--- a/README.markdown
+++ b/README.markdown
@@ -106,6 +106,10 @@ By default, calling `where` with two parameters (the column name and the value)
If your coding style favours clarity over brevity, you may prefer to use the `where_equal` method: this is identical to `where`.
+##### Shortcut: `where_id_is` #####
+
+This is a simple helper method to query the table by primary key. Respects the ID column specified in the config.
+
##### Less than / greater than: `where_lt`, `where_gt`, `where_lte`, `where_gte` #####
There are four methods available for inequalities: