pecee-pixie
pecee-pixie copied to clipboard
Lightweight, easy-to-use querybuilder for PHP inspired by Laravel Eloquent - but with less overhead.
In 4.16.2, the following syntax, which is normal, fails in 4.16.3. $this->qb->table('test') ->insert([ 'unique_id' => $unique_id, 'module' => $module, 'start_time' => $this->qb->raw('now()') ]);
method joinUsing need modify PHPDoc * @param string|Raw|\Closure $table to * @param string|Raw|\Closure|**array** $table
Is it possible to write queries that include a recursive common table expression (CTE) for recursive operations? Considering the following `services` table that has a tree structure of multiple items...
Hi There is a small typo in the documentation under events section. The description of EventHandler::EVENT_AFTER_SELECT should be corrected. ``` Event-type that fires after insert query Event-type that fires after...
If the table has alias defined, the `having()` method adds the prefix before the `key`. I think it shouldnt. ```php $qb ->newQuery() ->table(['p_table'=>'p']) ->select([ 'p.id'=>'id', $qb->raw('DATE(p.signTime) as docDate') ]) ->having('docDate','=','2021-06-24')...
Issue #126 I've added php-cs support. To `fix` the code just run `composer fixer` begore each commit.
I suggest adding PHPCS for better code structure maintenance by many programmers. https://github.com/FriendsOfPHP/PHP-CS-Fixer Personally, I use the configuration below ```php return [ // default '@PSR2' => true, '@Symfony' => true,...
Unfortunately I will have to connect to some database using ODBC driver (i.e MSSQL, Apache Ignite etc.). I could add new adapter as a feature for support this connection. This...