Update type definitions #2

This commit is contained in:
2026-08-01 09:52:35 +01:00
parent e1038ec8ea
commit 9357cd404a
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -916,7 +916,7 @@ export type ServerQueryParamsJoin<
tableName: Table;
match?:
| ServerQueryParamsJoinMatchObject<Field>
| ServerQueryParamsJoinMatchObject<Field>[];
| (ServerQueryParamsJoinMatchObject<Field> | undefined)[];
selectFields?: (keyof Field | SelectFieldObject<Field>)[];
omitFields?: (
| keyof Field
+2 -1
View File
@@ -1,4 +1,4 @@
import { isUndefined } from "lodash";
import _, { isUndefined } from "lodash";
import type { ServerQueryParam, TableSelectFieldsObject } from "../types";
import sqlGenGrabConcatStr from "./sql-generator-grab-concat-str";
import sqlGenGenJoinStr from "./sql-generator-gen-join-str";
@@ -195,6 +195,7 @@ export default function sqlGenGenQueryStr<
return (
"(" +
join.match
.filter((mtch) => !_.isUndefined(mtch))
.map((mtch) => {
const { str, values } =
sqlGenGenJoinStr({