1 $query = $this->createQuery();
\r
2 $query = $query->statement(
\r
3 //manually creating PreparedStatement should not be necessary
\r
4 //anymore in typo3 v8+
\r
5 new \TYPO3\CMS\Core\Database\PreparedStatement(
\r
6 'SELECT * FROM tablename WHERE col = ? LIMIT 1',
\r
11 $result = $query->execute();