Getting the ref for a model instance #266
Unanswered
knownasilya
asked this question in
Q&A
Replies: 1 comment
-
No support for that right now. Firestore being a NoSQL database, may tend to have duplicate data all over to improve query performance. Having a way to get the ref of a model would be difficult when that happens. As for the timeout, I'm not sure why that happens for your case. On my end, I don't have any problem with having |
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
-
Is there a way to get the ref for a model? Like:
Kinda asking because I'm getting a timeout when I set the same model on itself as a belongs to:
Where the
post
model has@belongsTo('post') repost!: Promise<Post>
. On save the promise times out and the tab is shot.Beta Was this translation helpful? Give feedback.
All reactions