Papa Johns
Papa Johns•4mo ago

I want to make that in the schema that

I want to make that in the schema that convex has.
3 Replies
jamalsoueidan
jamalsoueidan•4mo ago
While reading the documentation, I found this: https://labs.convex.dev/convex-ents Allow defining default values for easier document shape evolution.
Convex Ents - Convex Ents
Relations, default values, unique fields and more for Convex
Papa Johns
Papa JohnsOP•4mo ago
How can I use the default convex for the defaults. @jamalsoueidan is there any other way by which I can set the default values in the schema of the convex??
jamalsoueidan
jamalsoueidan•4mo ago
Yes make a universel function that insert into the table, there you add the default values 🙂

Did you find this page helpful?