@@ -105,6 +105,10 @@ public function read($name) {
* {@inheritdoc}
*/
publicfunctionreadMultiple(array$names){
if(empty($names)){
return[];
}
$list=[];
try{
$list=$this->connection->query('SELECT [name], [data] FROM {'.$this->connection->escapeTable($this->table).'} WHERE [collection] = :collection AND [name] IN ( :names[] )',[':collection'=>$this->collection,':names[]'=>$names],$this->options)->fetchAllKeyed();