@generazioneai/genquery 0.8.0 → 0.11.0

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/spec.md CHANGED
@@ -156,6 +156,14 @@ A string is searched against a specified regex. The regex is in the language nat
156
156
  value: "AFISCALCODE123"
157
157
  },
158
158
 
159
+ // IN (membership). An ARRAY value on a string/id/enum/number field
160
+ // translates to SQL IN. Elements are validated per the field type
161
+ // (enum elements must be one of the allowed values). Empty arrays are
162
+ // rejected. Not supported on boolean/date fields.
163
+
164
+ id: ["uuid-1", "uuid-2", "uuid-3"],
165
+ exampleEnumField: ["allowedValue1", "allowedValue2"],
166
+
159
167
  // date
160
168
 
161
169
  date: dateTimeType | presenceCheckType | { before: dateTimeType, after: dateTimeType }, // either before or after can be omitted from the object