There is no difference, it's the documentation that's outdated. We should update that
On Friday, 16 July 2021 at 09:22:52 UTC+2 leleg...@gmail.com wrote: > Federico Caselli <cfede...@gmail.com> writes: > > > As the warning mebtions, the issue is that you are using the string name > > with load only instead of the column from the class. > > Ok, so maybe we should explain the difference in the > joinedload().load_only() > documentation? As said, the sample code attached to the generic load_only() > function documentation uses the string name. > > ciao, lele. > -- > nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri > real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. > le...@metapensiero.it | -- Fortunato Depero, 1929. > > -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/6b123cb3-e905-4de4-90a6-83502d82eb70n%40googlegroups.com.