On Sep 26, 2014, at 7:15 PM, Jonathan Vanasco <[email protected]> wrote:
> So I've been making the list of what common functions returns what classes > (and what operations can be placed on them; i figured it would be good for > the faq) , and noted a few slight inconsistencies. > > A few examples > > * The API docs for orm.query.Query.subquery() state that the response is > wrapped in a sqlalchemy.sql.expression.Alias, but the object is really > sqlalchemy.sql.selectable.Alias ; this is true for several classes. well those import targets change with major releases and also sphinx doesn't make it easy to talk about import targets that might be in more than one place...probably a problem to be solved > > * orm.query.Query.cte() - the docs don't say what it returns (though it hits > at a CTE compatible object). It returns a sqlalchemy.sql.selectable.CTE, > which has the same interface as sqlalchemy.sql.expression.CTE yeah shrugs...ctes... -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
