perf: user info framwork

This commit is contained in:
archer
2023-06-06 15:44:58 +08:00
parent 1f170e1cd2
commit 941549ff04
16 changed files with 286 additions and 339 deletions

View File

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