db-mysql
db-mysql copied to clipboard
MySQL and MariaDB driver for Yii Database
| Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ✔️ | Breaks BC? | ✔️ | Fixed issues | yiisoft/db#737
A MySQL `SET` datatype should be mapped to an array. This would make it much easier to use in forms, e.g. in a `checkboxList()`. For now as a developer I...
PHP Warning — Yiisoft\ErrorHandler\Exception\ErrorException Array to string conversion i think this occurs when phpTypecast call more than one time. - 1st call: Convert string (direct value from DB) to array...
| Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ✔️ | Breaks BC? | ✔️ | Fixed issues | [#725](https://github.com/yiisoft/db/issues/725)
| Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ✔️ | Breaks BC? | ❌
| Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ✔️ | Breaks BC? | ✔️ | Fixed issues | https://github.com/yiisoft/db-mysql/issues/2
The field type binary(16) is converted to the blob type. MySQL 8.0 also has a binary type. ### Example ```php $b->createTable('urls', [ 'id' => $b->bigPrimaryKey()->unsigned(), 'hash' => $b->binary(16)->notNull()->comment('md5 from url')->asString(),...
`Schema::TYPE_TEXT` converts to TEXT in MySQL. This is just 64K, which is not a lot. Unless it's in strict mode, MySQL will truncate anything longer when inserting, and not throw...
Need set default value for $emulatePrepare = false And removing all multi statement queries (with support special Stringable object for multi statement queries in resetSequence and other cases from query...