db-mysql icon indicating copy to clipboard operation
db-mysql copied to clipboard

MySQL and MariaDB driver for Yii Database

Results 20 db-mysql issues
Sort by recently updated
recently updated
newest added

| Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ✔️ | Breaks BC? | ✔️ | Fixed issues | yiisoft/db#737

status:code review

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...

type:enhancement
status:under discussion

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...

status:under development

| 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(),...

type:bug

`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...

type:enhancement
type:feature

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...

type:enhancement