#83 ✓moved_to_github
sdecastelberg

not_group support

Reported by sdecastelberg | April 21st, 2009 @ 03:55 AM

hey,

is something like a 'not_group' available within searchlogic (or in combination with ActiveRecord)?

e.g.: s=System.new_search => #25}>

g=s.conditions.not_group => #g.name_equals="test" => "test" g.descr_equals="test" => "test" s.count => 95

generated sql: SQL (0.5ms) SELECT count("systems".id) AS count_id FROM "systems" WHERE (NOT (("systems"."name" = 'test' AND "systems"."descr" = 'test')))

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Provides common named scopes and object based searching.

People watching this ticket

Pages