postgres field contains jsonb type, trying to make batch Insert using: createCommand()->batchInsert()->execute();
Insert fields into DB table
Error message:
HP Recoverable Error – yii\base\ErrorException
Object of class yii\db\JsonExpression could not be converted to string
foreach ($columns as $i => $name) {
$columns[$i] = $schema->quoteColumnName($name);
}
looks like _tostring pattern have to be implemented
Will handle
Same issue with Command::update() method.
@khvalov please open new issue. Thanks.
Most helpful comment
Will handle