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.
count()
queryTable
1 parent 6ec3be5 commit f66d617Copy full SHA for f66d617
npm-packages/system-udfs/convex/_system/cli/queryTable.ts
@@ -7,7 +7,7 @@ import { v } from "convex/values";
7
export default queryGeneric({
8
args: { tableName: v.string() },
9
handler: async ({ db }, { tableName }) => {
10
- await db.query(tableName as TableNames).collect();
+ await db.query(tableName as TableNames).count();
11
return Math.random();
12
},
13
});
0 commit comments