Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion build/Query/Builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,10 @@ var Builder = /*#__PURE__*/function () {
if (!args.length || !args[0]) return this; // If 2 character length, it should be straight forward where

if (args.length == 2) {
args = [args[0], _Where.OPERATOR_EQUALS, args[1]];
if (Array.isArray(args[1]))
args = [args[0], 'IN', args[1]];
else
args = [args[0], _Where.OPERATOR_EQUALS, args[1]];
} // If only one argument, treat it as a single string


Expand Down