Hydrahon
Hydrahon copied to clipboard
🐉 Fast & standalone PHP MySQL Query Builder library.
Hello, I came across this class but could not find where are php example? i found the src folder there is no example as to which file should be included...
Adding something I've missed
Hello, In this pull request, I have integrated the possibility to use Func objects in the WHERE clause of a query (it will now be correctly translated in the query)...
Hello, First of all, congratulations for this very useful project. However, while developing an ORM based on this module, I need to use a MySQL function (and more precisely DATABASE())...
Hi I'm not sure if I'm doing something wrong or not but I get this error In Phpstorm and PHP error log. Also, I searched the Builder.php file and found...
Hi! I love a lot this library and I want just to ask if it would be possible to add a new method to `\ClanCats\Hydrahon\Query\Sql\Select` (and eventally related) to clear...
Supports queries like this, which can be expressed as joins but are often easier to understand expressed this way--and faster to execute in MySQL: ```php $rentals = $h->table('rental_properties'); $favorites =...
``` function fetch($db, $translator, $wheres) { $query = new \ClanCats\Hydrahon\Query\Sql\Select; /* other stuff to setup query */ $query->where($wheres); list($queryString, $queryParams) = $translator->translate($query); return getQueryResult($db, $queryString, $queryParams); } fetch($mysqli, $translator, [...