Skip to content

Record links #2315

Closed Answered by sethsandaru
dodalovicgran asked this question in Q&A
Jul 22, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You need to add FETCH in order to eager-load the record links (1:1 mapping)

SELECT *
FROM user
FETCH billing_address, shipping_address

FYA I have some snippets noted down here https://github.com/sethsandaru/surreal-snippets which might help you

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AlexFrid
Comment options

Answer selected by AlexFrid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants