Search code examples
phpzend-framework2

How to do a MATCH AGAINST with tableGateway in Zend Framework 2?


I need to do a [MATCH ( title, description ) AGAINST ( 'text' )] in a ZF2 application using tableGateway like in the ZF2 skeleton application.

I had high hopes when tried with \Zend\Db\Sql\Where , but couldn't find any way. Any advices or examples on how to do that ?


Solution

  • It seems there is no possible way to do MATCH AGAINST with tableGateway. Only solution is by doing it using the "default" way by using \Zend\Db\Adapter\Adapter -> query($qry)