Error on using WHERE ... IN (...) clause + simple bindidng in query builder
$my_shared = WallPosts::query()
->where('profile_id = :my_id:')
->inWhere('shared_post_id',array(1,2,3,4,5))
->bind(array('my_id' => 2))
->execute();
SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens.
When removing "bind" or "inWhere" everything is fine.
What is wrong? Maybe I've missed smth??