edruid/BasicObject — pull request #21 by torandi (2012-11-25 22:12:21+00:00)
Title: Fix bug where @and removes existing wheres

Example:
array(
'foo' => 1,
'@and' => array(
'bar' => 2,
'baz' => 3
)
)
Would give the query "bar = ? AND baz = ?"
with params = [1, 2, 3]

Expected result would be "foo = ? AND ( bar = ? and baz = ? ) "
with params = [1, 2, 3].