We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53d995b commit 7aef13eCopy full SHA for 7aef13e
index.d.ts
@@ -60,6 +60,8 @@ interface EggMySQL {
60
where?: object,
61
condition?: EggMySQLCondition
62
): Promise<EggMySQLGetResult>;
63
+ /// get counts from table
64
+ count: (table: string, where?: object) => Promise<number>;
65
/// execute sql e.g.
66
/// query('update posts set hits = (hits + ?) where id = ?', [1, postId])
67
query: (
0 commit comments