fridge-project/dbal — pull request #3 by egeloen (2012-07-16 20:49:58+00:00)
Title: [Connection] Rewrite query

Currently, it is very problematic to deal with the `IN` sql clause when you query your database.

For example, you need to write:

```
$connection->executeQuery('SELECT * FROM foo WHERE foo IN (?, ?, ?)', array(1, 2, 3), array('integer', 'integer', 'integer'));
```

instead of a simple:

```
$connection->executeQuery('SELECT * FROM foo WHERE foo IN (?)', array(array(1, 2, 3)), array('integer[]'));
```

This PR solves this issue.