I have an array in PHP:
$my_array = array(  => blabla6  => blabla3  => blabla7 ); $query = db_select('dog', 'dg') ->fields('dg') ->condition('numbers', array_keys($my_array), 'WHERE IN');
I want to get all the rows that have
numbers = "key of the my_array" and I have no idea how do that thing. Does anyone have any suggestions?
I do not want to use foreach because I don't want to loop that query many times.