Update type definitions #2
This commit is contained in:
+2
-1
@@ -1,4 +1,4 @@
|
||||
import { isUndefined } from "lodash";
|
||||
import _, { isUndefined } from "lodash";
|
||||
import sqlGenGrabConcatStr from "./sql-generator-grab-concat-str";
|
||||
import sqlGenGenJoinStr from "./sql-generator-gen-join-str";
|
||||
import sqlGenGrabSelectFieldSQL from "./sql-generator-grab-select-field-sql";
|
||||
@@ -162,6 +162,7 @@ export default function sqlGenGenQueryStr(params) {
|
||||
if (Array.isArray(join.match)) {
|
||||
return ("(" +
|
||||
join.match
|
||||
.filter((mtch) => !_.isUndefined(mtch))
|
||||
.map((mtch) => {
|
||||
const { str, values } = sqlGenGenJoinStr({
|
||||
mtch,
|
||||
|
||||
Reference in New Issue
Block a user