Egor Babarykin
10/29/2019, 11:33 AMSomeEntity.all()
.with(SometEntity::users)
.toList()
This command makes sql query to db for select SometEntity from SomeTable and SomeUserEntity from SomeUserTable
But when i'm calling get of SometEntity.users it makes another query to db to select SomeUserEntity only for one SomeEntitytapac
10/30/2019, 3:42 AMEgor Babarykin
11/01/2019, 3:41 PM