tokuhirom/SQL-Maker — pull request #19 by nihen (2012-12-23 13:27:48+00:00)
Title: compose_or return sql with enclosed parentheses

# pseudo code
$w = (1 = 1 | 1 = 0);
$w->add(1 = 0);

$w->as_sql =>
1=1 OR 1=0 AND 1=0
is true.because same as (1=1 OR ( 1=0 AND 1=0 )).

maybe coder want this.

(1=1 OR 1=0) AND 1=0
is false.