@leonardovida-md/drizzle-neo-duckdb 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/helpers.mjs CHANGED
@@ -119,11 +119,11 @@ var duckDbList = (name, elementType) => customType({
119
119
  }
120
120
  if (typeof value === "string") {
121
121
  const parsed = coerceArrayString(value);
122
- if (parsed) {
122
+ if (parsed !== undefined) {
123
123
  return parsed;
124
124
  }
125
125
  }
126
- return [];
126
+ return value;
127
127
  }
128
128
  })(name);
129
129
  var duckDbArray = (name, elementType, fixedLength) => customType({
@@ -139,11 +139,11 @@ var duckDbArray = (name, elementType, fixedLength) => customType({
139
139
  }
140
140
  if (typeof value === "string") {
141
141
  const parsed = coerceArrayString(value);
142
- if (parsed) {
142
+ if (parsed !== undefined) {
143
143
  return parsed;
144
144
  }
145
145
  }
146
- return [];
146
+ return value;
147
147
  }
148
148
  })(name);
149
149
  var duckDbMap = (name, valueType) => customType({