php - Is it possible to create custom functions when use sqlite in cakephp -
i need create custom function silimar mysql. must in sqlite run tdd.
i have not found how in documentation or in code structure.
reference: http://php.net/manual/en/pdo.sqlitecreatefunction.php
thanks.
you can pdo connection
$pdo = $this->somemodel->getdatasource()->getconnection();
and use reference.
Comments
Post a Comment