Dmitriy Gritsenko

Results 5 comments of Dmitriy Gritsenko

If it is driver-specific, shouldn't this be done on DBMS level? In the following packages: ``` yiisoft/db-mssql yiisoft/db-mysql yiisoft/db-oracle yiisoft/db-pgsql yiisoft/db-sqlite ```

> > By default it is better to specify driver specific max value and allow the developer to change it. > > To be clear: I was talking about limit...

> > shouldn't this be done on DBMS level? > > Implementation itself — yes. The interface should be common, though. Basically we are discussing here two similar questions at...

This will require [insertBatch()](https://github.com/yiisoft/db/blob/4f9a12a01d93bcffe3e4fecc23c53ff86d70dd43/src/QueryBuilder/AbstractDMLQueryBuilder.php#L78) to return array of sql queries. Unfortunately it will break some BC.

It seem's like there is no easy way, to implement these features. I've reproduced the bug for pgsql One of the ways is to create method `addRawSql()` and something like...