$rs = $schema->resultset('records') ->search({ id => { in => \@ids } }) ;