We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
calling console.time errors out when used in the convex backend, example:
export const list = query({ args: {}, handler: async (ctx) => { console.time("list query time"); const { tokenIdentifier } = await authGuard(ctx) const ideas = await ctx.db.query("ideas") .filter((q) => q.eq(q.field("userId"), tokenIdentifier)) .order("desc") .collect(); console.timeEnd("list query time"); return ideas }, });
Logs:
1/13/2024, 6:53:29 AM 40ms failure Query ideas:list failure Uncaught TypeError: console.time is not a function at handler (../convex/ideas.ts:106:12)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
calling console.time errors out when used in the convex backend, example:
Logs:
The text was updated successfully, but these errors were encountered: