Reputation: 99
Say that I have a Firebase user who can subscribe to magazines. Currently I save the subscribed magazine reference keys from Firebase locally on the user's device. Is there a way for the Firebase magazine object to be created as a node under the user object on Firebase, when I have the database key that points to the specific magazine object? So when the magazine object is updated, the magazine object under the user will also be updated. Essentially the magazine object under the user is pointing to the actual magazine object.
Upvotes: 0
Views: 93
Reputation: 2896
As of right now, this is not possible automatically, as there is no concept of "linking" two nodes together. Not all is lost though, you can work around this limitation in at least two ways:
Upvotes: 1