yii2-dynamic-ar icon indicating copy to clipboard operation
yii2-dynamic-ar copied to clipboard

column name

Open abdouTurki opened this issue 6 years ago • 0 comments

If a dynamic column name starts with number it does not work.is there a solution? example : $product = new Product([ 'sku' => 5463, 'upc' => '234569', 'price' => 4.99, 'title' => 'Clue-by-four', 'description' => 'Used for larting lusers or constructing things', 'dimensions' => [ 'unit' => 'inch', 'width' => 4, 'height' => 2, 'length' => 20, ], 'material' => 'wood', ]); $product->save();

if dimensions start with number '52dimensions' it works only in insert but in where close it does not work and I get SQL syntax error near '!)'.

abdouTurki avatar Oct 29 '19 17:10 abdouTurki