You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Since postgres ignores the array dimension (if specified) diesel implements [`FromSql`] for `Vec<T>` and [`ToSql`] for `Vec<T>`/`&[T]`.
16
+
/// In addition postgres also consider array items as always nullable.
17
+
/// This makes hard to deal with real arrays, that have a predetermined length, and an omogeneous nullability.
18
+
/// This type checks at runtime the array length and the NON nullability of its items, to be completely safe you should also add some `CHECK` constraints to your array fields.
19
+
///
20
+
/// This type is not intended to be used directly in the model but rather to be
21
+
/// used with diesel [`serialize_as`] and [`deserialize_as`].
0 commit comments