[Jifty-commit] r5769 - in Jifty-DBI/trunk: lib/Jifty/DBI
Jifty commits
jifty-commit at lists.jifty.org
Sat Aug 30 04:18:11 EDT 2008
Author: falcone
Date: Sat Aug 30 04:18:10 2008
New Revision: 5769
Modified:
Jifty-DBI/trunk/ (props changed)
Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm
Log:
r39205 at 70-9-196-144: falcone | 2008-08-29 23:54:18 -0400
* additional docs for load_by_cols
We may want to default operator to '=' in the case
documented
Modified: Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm
==============================================================================
--- Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm (original)
+++ Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm Sat Aug 30 04:18:10 2008
@@ -1026,7 +1026,15 @@
The hash's keys are the columns to look at.
The hash's values are either: scalar values to look for OR hash
-references which contain 'operator' and 'value'
+references which contain 'operator', 'value', 'case_sensitive'
+or 'function'
+
+To load something case sensitively on a case insensitive database,
+you can do:
+
+ $record->load_by_cols( column => { operator => '=',
+ value => 'Foo',
+ case_sensitive => 1 } );
=cut
More information about the Jifty-commit
mailing list