pindab0ter
05/15/2019, 11:50 AMtapac
05/15/2019, 12:12 PMparentEntity.children.toList()
?tapac
05/15/2019, 12:12 PMpindab0ter
05/15/2019, 12:56 PMNo transaction in context
errors when using the eager loading.tapac
05/15/2019, 12:56 PMpindab0ter
05/15/2019, 12:56 PMtoList()
solution works, but weird, since I now have a separate list of children that are now separate from their parenttapac
05/15/2019, 12:57 PMHow can I load the list when I load that object?
😄pindab0ter
05/15/2019, 12:58 PMpindab0ter
05/15/2019, 12:58 PMval discordUser: DiscordUser? = transaction {
DiscordUser.find { DiscordUsers.discordTag like "$name%" }.firstOrNull()?.load(DiscordUser::farmers)
}
pindab0ter
05/15/2019, 1:00 PMNo transaction in context
error when I try to access .farmers
outside of a transaction.tapac
05/15/2019, 1:00 PMtransaction
block.pindab0ter
05/15/2019, 1:01 PMtapac
05/15/2019, 1:01 PMpindab0ter
05/15/2019, 1:02 PM.toList()
method 🙂