diff --git a/library/src/main/ets/core/Property.ts b/library/src/main/ets/core/Property.ts index af258f1f655a7dd65621667030f9013db4419a34..73df5e1cc91459c7a0e966510c310be57522081f 100644 --- a/library/src/main/ets/core/Property.ts +++ b/library/src/main/ets/core/Property.ts @@ -127,34 +127,34 @@ export class Property { /** Creates an "BETWEEN ... AND ..." condition for this property. */ public between(value1: any, value2: any): WhereCondition { let values: any[] = [value1, value2]; - return new PropertyCondition(this, "between", values); + return new PropertyCondition(this, "between", undefined, values); } public betweenSql(value1: any, value2: any): WhereCondition { let values: any[] = [value1, value2]; - return new PropertyCondition(this, " BETWEEN ? AND ?", values); + return new PropertyCondition(this, " BETWEEN ? AND ?", undefined, values); } /** Creates an "IN (..., ..., ...)" condition for this property. */ public inData(...inValues: any[]): WhereCondition { - return new PropertyCondition(this, "in", inValues); + return new PropertyCondition(this, "in", undefined, inValues); } public inDataSql(...inValues: any[]): WhereCondition { let condition = new StringBuilder(" IN ("); SqlUtils.appendPlaceholders(condition.toString(), inValues.length).concat(')'); - return new PropertyCondition(this, condition.toString(), inValues); + return new PropertyCondition(this, condition.toString(), undefined, inValues); } /** Creates an "NOT IN (..., ..., ...)" condition for this property. */ public notIn(...notInValues: any[]): WhereCondition { - return new PropertyCondition(this, "notIn", notInValues); + return new PropertyCondition(this, "notIn", undefined, notInValues); } public notInSql(...notInValues: any[]): WhereCondition { let condition = new StringBuilder(" NOT IN ("); SqlUtils.appendPlaceholders(condition.toString(), notInValues.length).concat(')'); - return new PropertyCondition(this, condition.toString(), notInValues); + return new PropertyCondition(this, condition.toString(), undefined, notInValues); } /** Creates an "greater than ('>')" condition for this property. */