diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-12-22 13:32:02 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-12-22 13:32:02 -0800 |
commit | 7118f84aa9ae0ece97a41aba4e4d269a1e136df6 (patch) | |
tree | 92e02e21299357d60627be50b40c76c98afaa58a /lib/gallery.ajax.js | |
parent | 8b9a02084a8205fce67860c98ed4ab72b1156a0c (diff) |
ORM::factory() in K24 does not allow you to specify an alternate key
for lookup. So instead of doing:
ORM::factory("foo", array("some_key" => "some_value"))
you have to do:
ORM::factory("foo"->where("some_key", "=" "some_value")->find()
Diffstat (limited to 'lib/gallery.ajax.js')
0 files changed, 0 insertions, 0 deletions