Sanjeet KediaS
Convex Community3y ago
19 replies
Sanjeet Kedia

Having to put v.optional in the schema file

So i have a function that first inserts a document in one table, and i use that id when i insert into another table because they are related data. but i am having to put v.optional(v.id('invoicelist')) why is that i want to make sure that this field is not optinal and there will always be a v.id of invoice list in it.
Was this page helpful?