export data limit file_id

This commit is contained in:
archer
2023-09-10 16:25:52 +08:00
parent d8f660370f
commit a85e0e9e2e
11 changed files with 65 additions and 50 deletions

View File

@@ -108,6 +108,7 @@ class Pg {
}
LIMIT ${props.limit || 10} OFFSET ${props.offset || 0}
`;
const pg = await connectPg();
return pg.query<T>(sql);
}