db
db copied to clipboard
Yii Database Library
| Q | A | ------------- | --- | Is bugfix? | ✔️ | New feature? | ❌ | Breaks BC? | ❌
| Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ✔️ | Breaks BC? | ❌
| Q | A | ------------- | --- | Is bugfix? | ✔️ | New feature? | ❌ | Breaks BC? | ❌
| Q | A | ------------- | --- | Is bugfix? | ✔️ | New feature? | ❌ | Breaks BC? | ❌
| Q | A | ------------- | --- | Is bugfix? | ✔️ | New feature? | ❌ | Breaks BC? | ❌
| Q | A | ------------- | --- | Is bugfix? | ✔️ | New feature? | ❌ | Breaks BC? | ❌
| Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ✔️ | Breaks BC? | ❌
I need force index in my project, so I've add the method addHintIndex to set the hints indexes associated to a table. The param is an assoc array of the...
I have: ``` php $query1 = (new \yii\db\Query()) ->select("id, category_id AS type, name") ->from('post') $query2 = (new \yii\db\Query()) ->select('id, type, name') ->from('user') ->orderBy('type'); $query1->union($query2); ``` This code generates the following...
Dsn may be created either with host and port or with unix_socket. Currently there is no option to create dsn using unix socket. May be there should be two static...