On Jul 9, 2007, at 11:34 AM, John Siracusa wrote:
> I've added is/is_not operators to QueryBuilder in SVN. Give them a
> spin and let me know if they do what you want.
awesome. will test tonight
can't wait to rid the 'clauses' sections from my managers.
// Jonathan Vanasco
| - - - - - - - -
On 4/30/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
> i'd like to see an "is not" operator
I've added is/is_not operators to QueryBuilder in SVN. Give them a
spin and let me know if they do what you want.
-John
-
This S
On May 1, 2007, at 10:32 AM, John Siracusa wrote:
> That's not going to make it into 0.764, but a feature that is in 0.764
> might help you:
>
> query =>
> [
> \q(is_selected is not false), # literal SQL
> ...
> ],
I didn't expect .764
I've got it covered now using t
On 4/30/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
> get not true:
> select * from test where is_selected is not true;
> returns 1,3
>
> get not false:
> select * from test where is_selected is not false;
> returns 1, 2
That's not going to make it into 0.764, b
i'd like to see an "is not" operator
something like:
'!NAME' => undef# COLUMN IS NOT NULL
under postgres, booleans behave as such:
example table
create table test ( id integer not null , is_selected boolean );
insert into test ( id , is_selected ) values ( 1 , NU