Skip to content

Instantly share code, notes, and snippets.

Created April 14, 2015 15:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/622fc5fdc95206c6a986 to your computer and use it in GitHub Desktop.
sometimes
$query = $this->_queryFactory->newSelect();
$query
->cols(['*'])
->from('accounts')
->where('oe_id IN (:oe_id)')
->bindValue('oe_id', implode(', ', $oeIds));
return $this->_getPdoRead()
->fetchObjects($query, $query->getBindValues());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment