Subject: | typo in the doc |
is here a typo?
actual: { like => '%son%' }
expect: { -like => '%son%' }
my ($sub_stmt, @sub_bind)
= $sql->where({age => [{"<" => 10}, {">" => 20}]});
$sub_stmt =~ s/^ where //i; # don't want "WHERE" in the subclause
my %where = (
lname => {like => '%son%'},
\["NOT ($sub_stmt)" => @sub_bind],
);
https://metacpan.org/pod/SQL::Abstract::Classic#Literal-SQL-with-placeholders-and-bind-values-(subqueries)