.get() .patch() .delete().get() .patch() .delete() all take one argument, the id of the record to fetch / modify..query().query(), .withIndex().withIndex() and .unique().unique() to confirm the logged in userId matches record's userId.
Join the Discord to ask follow-up questions and connect with the community
Join the Convex Discord! Explore Convex, the backend platform that keeps your app in sync.
16,164 Members
Join