-
-
Notifications
You must be signed in to change notification settings - Fork 963
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
Store array in database #255
Comments
@alborq I suggest to use * @ORM\Column(name="definition", type="json") http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/types.html#json |
@cve JSON type not available on MySql |
hi @alborq , |
hi @amenophis
|
Doctrine |
Ping @dunglas. We speak together on SymfonyLive about that. This may as a same bug on symfony components (duplicate code). Why array of string is excpect and not just an array. Allan |
It's actually intended for Can you post the code of your entities (or publish a sample repository)? |
@teohhanhui Yes this is unfortunately the case. When using the |
I think we should support a flat array of any homogeneous scalar type. |
Hi,
i try to define this ressource:
But, I want store Definiton has json/array in DB
If i try some of :
api platform espected array of sting :
Why, where it come from ?
How did it, change it ?
The text was updated successfully, but these errors were encountered: