How to manually load children? #1325
-
Hi,
I have above object structures where: If I have loaded realm instance without the realm machine labels, now, how do I manually load the realm machine labels, together with the Machine and Label into the existing realm instance? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
stephenafamo
Jan 2, 2024
Replies: 1 comment
-
This use case is not well documented and it is a little awkward, but you can do something like this: var realm *models.Realm // the loaded realm instance
Realm{}.L.LoadRealmMachineLables(ctx, exec, true, realm, mods...) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
stephenafamo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This use case is not well documented and it is a little awkward, but you can do something like this: