-
-
Notifications
You must be signed in to change notification settings - Fork 522
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
Support for Vec<impl From<Value>>
in models
#151
Comments
But all other databases (MySQL & SQLite) does not support array |
Oh I see, I wonder if this feature could only be enabled when you have the postgres feature flag active. I did see that MySQL has a |
+1 I just test ...
#[sea_orm(column_type = "Custom(\"array\".to_owned())", nullable)]
pub other_patient_ids: Option<String>,
... for a column declared as Clearly, |
Cont'd in #576 |
I'm confused, why was this closed? The other issue #576 is less detailed and is more recent. Is it because this is being worked on? |
just to consolidate the discussions |
Models should allow for columns which are arrays.
For example a Postgres array column called
"images"
:Should integrate with a type
Vec<String>
on a model.Currently, it throws an error:
The text was updated successfully, but these errors were encountered: