query result formatter
This commit is contained in:
parent
d7b92aedc1
commit
5a59a63e4a
3 changed files with 56 additions and 2 deletions
|
@ -54,6 +54,10 @@ export type OrderByStructure = {
|
|||
|
||||
export type OrderByType = "ASC" | "DESC";
|
||||
|
||||
export type QueryResult = {
|
||||
[key: string]: FieldType | QueryResult | Array<QueryResult>;
|
||||
};
|
||||
|
||||
export const exampleQuery: DynamicQueryStructure = {
|
||||
select: ["firstname", "lastname"],
|
||||
table: "member",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue