Hello,

is it possible to get completely lazy loaded entity? By completely lazy loaded
I mean no queries are done to database, so I have just instantiated object of
mapped class with only known attribute pk. If I access any other attribute
besides pk SQLAlchemy will load entire object state from database. Use case is
the following -- I have user's id encoded in cookie and want to have user
object attached to WSGI request, but if some of my views doesn't use it then it
shouldn't be queried from db.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to