This commit is contained in:
Benjamin Toby
2024-12-19 21:37:34 +01:00
parent a2ba913340
commit d627655422
4 changed files with 17 additions and 7 deletions
+1
View File
@@ -949,6 +949,7 @@ export type ServerQueryParamsJoin<Table extends string = string, Field extends o
[key: string]: any;
}> = {
joinType: "INNER JOIN" | "JOIN" | "LEFT JOIN" | "RIGHT JOIN";
alias?: string;
tableName: Table;
match?: ServerQueryParamsJoinMatchObject<Field> | ServerQueryParamsJoinMatchObject<Field>[];
selectFields?: (keyof Field | {
+1
View File
@@ -1131,6 +1131,7 @@ export type ServerQueryParamsJoin<
Field extends object = { [key: string]: any }
> = {
joinType: "INNER JOIN" | "JOIN" | "LEFT JOIN" | "RIGHT JOIN";
alias?: string;
tableName: Table;
match?:
| ServerQueryParamsJoinMatchObject<Field>