Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

column name #28

Open
abdouTurki opened this issue Oct 29, 2019 · 0 comments
Open

column name #28

abdouTurki opened this issue Oct 29, 2019 · 0 comments

Comments

@abdouTurki
Copy link

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 '!)'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant