Grant Licata
CCConvex Community
•Created by Grant Licata on 5/2/2024 in #support-community
Mutations Inside Queries
This looks like it might be the key! I'll play around with solutions and get back to this thread if I have some success. Thanks again @Michal Srb, @ian , and @erquhart !
28 replies
CCConvex Community
•Created by Grant Licata on 5/2/2024 in #support-community
Mutations Inside Queries
Ah cancel that, I found the documetation:
https://docs.convex.dev/production/integrations/log-streams
28 replies
CCConvex Community
•Created by Bitcrafter on 5/2/2024 in #show-and-tell
Introducing Bolt Boilerplate: Speed Up Your Convex+Next.js+Clerk Setup
I believe this is it, looks great!
https://github.com/bitcraft3r/bolt-boilerplate-nextjs/
6 replies
CCConvex Community
•Created by Grant Licata on 5/2/2024 in #support-community
Mutations Inside Queries
@Michal Srb could you expand on what you mean by logging from my queries along with the log streaming. Is there some documentation you could point me to possibly?
28 replies
CCConvex Community
•Created by Grant Licata on 5/2/2024 in #support-community
Mutations Inside Queries
However, I'd also like to use a similar functionality for understanding user data allocation for future billing features
28 replies
CCConvex Community
•Created by Grant Licata on 5/2/2024 in #support-community
Mutations Inside Queries
Along with implementing some controls for future prevention
28 replies
CCConvex Community
•Created by Grant Licata on 5/2/2024 in #support-community
Mutations Inside Queries
Yep, I'm trying to see where and who is the cause of some significant bandwidth bleed I've experienced lately
28 replies
CCConvex Community
•Created by Grant Licata on 5/2/2024 in #support-community
Mutations Inside Queries
Yeah, that makes sense
28 replies
CCConvex Community
•Created by Grant Licata on 5/2/2024 in #support-community
Mutations Inside Queries
It's a mix, but some of them run by loading a view. My hope was to have this all set up in the backend to ensure that every query has a count collected.
28 replies
CCConvex Community
•Created by Grant Licata on 5/2/2024 in #support-community
Mutations Inside Queries
Thanks Ian! I've gone through the tutorial but cound't find anything to indicate a resolution to my issue. Definitely appreciate the Convex documentation though, it's been a big help.
28 replies
CCConvex Community
•Created by Grant Licata on 5/2/2024 in #support-community
Mutations Inside Queries
So essentially, I would like to capture a count of each time a query is run for an authenticated user. The way I have been attempting to approach this so far has been to find a way to trigger an update mutation from my query definitions. For example, each time a query to gather all documents is executed, a mutation is triggered to my users database that increments the number of calls associated with the user. Perhaps I'm going about this the wrong way? Others out there must require this sort of functionality at some point.
28 replies
CCConvex Community
•Created by Grant Licata on 5/2/2024 in #support-community
Mutations Inside Queries
I tried using actions but React didn't like that
28 replies
CCConvex Community
•Created by Grant Licata on 5/2/2024 in #support-community
Mutations Inside Queries
The issue is that I'm trying to trigger a mutation upon each query event. So it needs to connect with the activity of my queries somehow.
28 replies