diff options
author | Luis Ramón López <[email protected]> | 2014-05-18 20:23:41 +0200 |
---|---|---|
committer | Luis Ramón López <[email protected]> | 2014-05-18 20:42:50 +0200 |
commit | db071216909799fcc781f9257065f7411214c169 (patch) | |
tree | 9fea50ecdee04524c388bc3ceb2b92108f43f1af /docs | |
parent | 3f86f09173e4acf0443018121207cffb0e4fe6c7 (diff) |
where_id_in() for selecting multiple records by primary key
Diffstat (limited to 'docs')
-rw-r--r-- | docs/querying.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/querying.rst b/docs/querying.rst index f86f162..bf140a1 100644 --- a/docs/querying.rst +++ b/docs/querying.rst @@ -275,6 +275,12 @@ Respects the ID column specified in the config. If you are using a compound primary key, you must pass an array where the key is the column name. Columns that don't belong to the key will be ignored. +Shortcut: ``where_id_in`` +''''''''''''''''''''''''' + +This helper method is similar to ``where_id_is`, but it expects an array of +primary keys to be selected. It is compound primary keys aware. + Less than / greater than: ``where_lt``, ``where_gt``, ``where_lte``, ``where_gte`` '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' |