Skip to content

Commit 2ab4bb4

Browse files
authored
Merge pull request #58 from niravthakkar/patch-1
Update MSSQLConnector.js
2 parents 78649b2 + 39916b0 commit 2ab4bb4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

MSSQLConnector.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,11 @@ function createSingleCondition(obj) {
627627
}
628628

629629
if (operator != undefined) {
630+
if(Array.isArray(value) && value.length ==1)
631+
{
632+
const updatedValue = value[0];
633+
value = updatedValue;
634+
}
630635
var sign = operatorSign(operator, value);
631636
if (sign.indexOf('IN') > -1) { //IN condition has different format
632637
if (typeof value[0] == 'string') {

0 commit comments

Comments
 (0)