query result formatter
This commit is contained in:
parent
d7b92aedc1
commit
5a59a63e4a
3 changed files with 56 additions and 2 deletions
|
@ -91,7 +91,7 @@ export async function executeQuery(req: Request, res: Response): Promise<any> {
|
|||
|
||||
res.json({
|
||||
stats: "success",
|
||||
rows: rows,
|
||||
rows: DynamicQueryBuilder.flattenQueryResult(rows),
|
||||
total: total,
|
||||
offset: offset,
|
||||
count: count,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue