db
db copied to clipboard
Yii Database Library
For cases with in function parameters instance of ColumnInterface - need use "format" for build column definition (without regexp)
Main changes: - [x] 1. Realize `TypeColumn` classes (`IntegerColumn`, `StringColumn`, etc) #752 - [x] 2. Realize `ColumnFactory` - [x] 3. Realize `ColumnBuilder` It also fixes yiisoft/db-mysql#249 - [ ] 4....
Hello, how to use subjects with joining tables? Ex: I have Query which representing sql: ``` SQL SELECT `t`.* FROM `ss_profiles_finances` `t` LEFT JOIN `ss_profiles` `profile` ON `t`.`profile_id` = `profile`.`id`...
* Remove constants `SchemaInterface::TYPE_*` ### For all db drivers * Enable BC tests https://github.com/yiisoft/db/blob/master/.github/workflows/bc.yml_ * Enable Rector tests https://github.com/yiisoft/db-mssql/blob/master/.github/workflows/rector.yml_ * Change dependency of `db` to `^2.0` * in `composer.json` https://github.com/yiisoft/db-pgsql/blob/3dab24db501c6dc06614eac4554b963bbb4e7b56/composer.json#L28...
- [ ] Remove `batchInsert()` method from `AbstractQueryBuilder`, `AbstractDMLQueryBuilder`, `AbstractCommand` classes
* Refactor `DataReader` class * Rename `DataReader` to `PdoDataReader` class * Refactor `BatchQueryResult` * Use `DataReaderInterface` as a result of method `Query::each()` As a result `->rewind()` can be called multiple...
`Query::each()` returns data reader to get data row by row. ```php foreach ($query->each() as $row) {} ``` Current realization of the data reader reads batch of rows then read each...