How to pass references in schemafull tables 1-N #1664
ndrean
started this conversation in
Documentation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ref: #1604 (comment)
Have you defined the fields for the array? DEFINE FIELD r ON t TYPE array; DEFINE FIELD r.* ON t TYPE record(r);
This could probably be added to the documentation because I did not find any mention to the type
array
orrecord
. A typical use case is with a one-to-many with schemafull tables, then the first table should contain an array of records of references of the second table to enforce safety.returns the expected filtering. Nice!
Beta Was this translation helpful? Give feedback.
All reactions