UnionOfRAD/lithium — Issue #352: SQLite with "IN" condition will generate IN ('IN', array)
Author: tonyeung
Created: 2012-02-22 08:56:24+00:00
State: open

```php
$results = Model::all(array(
'conditions' => array(
'id' => array("in", $array)
)
));
```

if i change it to

```php
$results = Model::all(array(
'conditions' => array(
'id' => array("in", implode(",",$array)
)
));
```

I get IN ('IN', '1,2,3,4')