Automatically determine flags for array serialization
This way it automatically works with versions of postgres that didn't support null array entries as long as the data doesn't actually have a null
This commit is contained in:
@@ -588,7 +588,6 @@ impl<'a, T: ToSql> ToSql for &'a [T] {
|
||||
|
||||
types::array_to_sql(
|
||||
Some(dimension),
|
||||
true,
|
||||
member_type.oid(),
|
||||
self.iter(),
|
||||
|e, w| match e.to_sql(member_type, w)? {
|
||||
|
||||
Reference in New Issue
Block a user