Marcin Pudełek

Results 10 comments of Marcin Pudełek

It depends on operation. For example **For INSERT 1 row:** ``` $query = $qb ->table('dummy') ->insert( array('name' => 'aaa') ) ; var_dump($query); ``` It returns ID directly: ``` string(2) "23"...

I had similar problem. Its my solution below (pseudocode): ``` function firstQuery(){ $qb->table('table_1')->insert($data1)..... } function secondQuery(){ $qb->table('table_2')->update($data2)..... } function thirdQuery(){ $qb->table('table_3')->delete()..... } ``` Main class/function: ``` $inTransaction = $qb->pdo()->inTransaction(); try...

I wanted to but I couldn't reproduce your case. I checked and in my opinion it works. Could you give us all query? [Pixie v2.0, Mysql]

I think that you should use code like this below: ``` $query = $this->oQuery ->table('table ') ->select('field') ->where(function ($q) { $q->Where('x', '=', 1); $q->OrWhere('y', '=', 1); }) ->where(function ($q) {...

I will fix it in the evening. Thanks

PHP doc says: "Attempting to throw an exception from a destructor (called in the time of script termination) causes a fatal error." So you cannot throw exception [here](https://github.com/nategood/commando/blob/master/src/Commando/Command.php#L157). Of course...

I started to worry about you 😎. Your vacation were very long. Issue to close for me. Finally I used native driver.

To integrate witch PhpStorm read the following article: https://hackernoon.com/how-to-configure-phpstorm-to-use-php-cs-fixer-1844991e521f

> Do you have any experience with setting up github actions? A little. I made a few GitHub CI workflows.

to delete try `$standardProcessor->cloneBlock('CLONEME', 0);`