Support for nested/non-flat collections #598
Unanswered
ouvreboite
asked this question in
Q&A
Replies: 1 comment
-
|
it's just Zod schemas, right? or any other StandardSchema compatible library. it seems unintuitive to build a JSON API that presents a nicer application-level abstraction over the underlying SQL join tables, and then have to rebuild that flat structure on the frontend. maybe we'll get object and array operators in the future, but for the time being, i imagine you can just use the functional variants. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I did not find any clarification in the doc, but does db support collection schema with nested structures?
For example if I have a
todoscollections (id,name,isCompleted, tags) can tags be a string array and still be part of the todo or do I need to create a dedicatedtodoTagscollection?I don't see any operator that would apply to non primitive types, I suppose it's the later.
Beta Was this translation helpful? Give feedback.
All reactions