We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a708191 commit ed31ce0Copy full SHA for ed31ce0
build/Query/Builder.js
@@ -244,7 +244,10 @@ var Builder = /*#__PURE__*/function () {
244
if (!args.length || !args[0]) return this; // If 2 character length, it should be straight forward where
245
246
if (args.length == 2) {
247
- args = [args[0], _Where.OPERATOR_EQUALS, args[1]];
+ if (Array.isArray(args[1]))
248
+ args = [args[0], 'IN', args[1]];
249
+ else
250
+ args = [args[0], _Where.OPERATOR_EQUALS, args[1]];
251
} // If only one argument, treat it as a single string
252
253
0 commit comments