[PonyORM-list] Always prefetch some related entities ?
ttustonic at outlook.com
Sat Dec 13 21:20:28 UTC 2014
> Change the optional attribute `lazy` to False. So, for example:
> class File(database.Entity):
> filename = Required(unicode, lazy=False)
> And then try. Admittedly, I have not tried this out myself, but this should work.
Hmm, I think you misunderstood... I don't need eager filename attribute, I need
to prefetch Directory related entity.
Adding lazy=False to directory attribute doesn't work. It was the first thing I
More information about the ponyorm-list