Example syntax doesn't play with SQL::Abstract
[dbsrgits/DBIx-Class-Historic.git] / lib / DBIx / Class / ResultSet.pm
index a44a9eb..f9d1815 100644 (file)
@@ -4572,7 +4572,7 @@ E.g.
 
 or with an in-place function in which case literal SQL is required:
 
-  having => \[ 'count(employee) >= ?', 100 ]
+  having => \[ 'count(employee) >= ?', [ {} => 100 ] ]
 
 =head2 distinct