We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search-Query-Dialect-DBIxClass/t/02_search.t
Line 48 in 7d21339
% sqd '!n' !n => -n % perl -E 'use Search::Query; say Search::Query->parser( default_field => [qw(name email)], fields => [qw(name email)], dialect => "SQL" )->parse("!n")' NOT (name='n' OR email='n')
Lines 49 to 57 in 7d21339
above $rs_expected->count is 4. The same query as "NOT (name='n' OR email='n')" could be the following.
my $rs_expected = Person->search_rs( { -not => { -or => [ \[ "COALESCE( LOWER(name), '' ) LIKE ?", [ plain_value => "%n%" ] ], \[ "COALESCE( LOWER(email), '' ) LIKE ?", [ plain_value => "%n%" ] ], ] } ] );
above $rs_expected->count is 3.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Search-Query-Dialect-DBIxClass/t/02_search.t
Line 48 in 7d21339
Search-Query-Dialect-DBIxClass/t/02_search.t
Lines 49 to 57 in 7d21339
above $rs_expected->count is 4.
The same query as "NOT (name='n' OR email='n')" could be the following.
above $rs_expected->count is 3.
The text was updated successfully, but these errors were encountered: