stmt => " WHERE ( (bar > ? AND bar < ?) AND foo IN (?, ?) )",
bind => [44, 55, 22, 33],
},
-
{
where => { -and => [{}, { 'me.id' => '1'}] },
stmt => " WHERE ( ( me.id = ? ) )",
},
{
- where => \[ 'foo ?','bar' ],
- stmt => " WHERE (foo = ?)",
+ where => \[ 'foo = ?','bar' ],
+ stmt => " WHERE (foo = ?)",
bind => [ "bar" ],
},
{
- where => [ \[ 'foo ?','bar' ] ],
- stmt => " WHERE (foo = ?)",
+ where => [ \[ 'foo = ?','bar' ] ],
+ stmt => " WHERE (foo = ?)",
bind => [ "bar" ],
},
-
);
-
plan tests => ( @handle_tests * 2 ) + 1;
for my $case (@handle_tests) {