-
Notifications
You must be signed in to change notification settings - Fork 10
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
Inserting a map #15
Comments
objects and array column types are unfortunately currently not supported at |
Any thoughts on how it will work when it's done? Do the object and map type work at ORM level? |
fixed through 7d6e95f. In your example, following should work now (note the list of data types argument):
|
unfortunately it doesn't work, I get the following exception:
I'm on doctrine/dbal 2.3.5 and crate/crate-dbal 0.0.4 update: the insert does work when I set the object_column to DYNAMIC instead of STRICT |
hm you're right, the table creation does not work properly, it does not create the map's sub-columns. |
after I reproduced your problem, I've found the issue: sub-columns of a
|
Doctrine\DBAL\Connection::insert() does this:
I have the same basic table setup as you have in the readme.md:
Inserting a row with a map column:
Will result in the following exception:
It looks like something in doctrine is stopping me from inserting this data.. any help?
The text was updated successfully, but these errors were encountered: