Merge 'rt_bug_41083' into 'trunk'
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Manual / Cookbook.pod
index 678e173..f4a5a45 100644 (file)
@@ -1407,16 +1407,12 @@ passing them as bind values:
 
   $resultset->search(
     {
-      numbers => \[ '= ?', [numbers => [1, 2, 3]] ]
+      numbers => \[ '= ?', [1, 2, 3] ]
     }
   );
 
 See L<SQL::Abstract/array_datatypes> and L<SQL::Abstract/Literal SQL with
-placeholders and bind values (subqueries)> for more explanation. Note that
-L<DBIx::Class> sets L<SQL::Abstract/bindtype> to C<columns>, so you must pass
-the bind values (the C<[1, 2, 3]> arrayref in the above example) wrapped in
-arrayrefs together with the column name, like this: C<< [column_name => value]
->>.
+placeholders and bind values (subqueries)> for more explanation.
 
 =head1 BOOTSTRAPPING/MIGRATING