|
@@ -269,6 +269,7 @@ class SqlBuilder {
|
|
|
|
|
|
const orderArr = [];
|
|
const orderArr = [];
|
|
for (const index in this.orderBy) {
|
|
for (const index in this.orderBy) {
|
|
|
|
+ if (!this.orderBy[index]) continue;
|
|
orderArr.push(' ?? ' + this.orderBy[index][1]);
|
|
orderArr.push(' ?? ' + this.orderBy[index][1]);
|
|
this.sqlParam.push(this.orderBy[index][0]);
|
|
this.sqlParam.push(this.orderBy[index][0]);
|
|
}
|
|
}
|