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