Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以运行全文搜索 MySQL 查询?我如何使用 TableGateway 做到这一点?提前致谢。
$table = new \Zend\Db\TableGateway\TableGateway('table', $adapter); $rowset = $table->select(function (\Zend\Db\Sql\Select $select) { $select->where(array( new \Zend\Db\Sql\Predicate\Expression("MATCH(column) AGAINST ('testing')") )); });