Query API¶
This section presents the API reference for the ORM Query
object. For a walkthrough
of how to use this object, see Object Relational Tutorial (1.x API).
The Query Object¶
Query
is produced in terms of a given Session
, using the Session.query()
method:
q = session.query(SomeMappedClass)
Following is the full interface for the Query
object.