My only doubt now is whether you can query over the fields of the composite 
attribute. In the documentation an example is made of a query with a 
comparison of the whole data structure:

session.query(Vertex).filter(Vertex.start == Point(3, 4))

But it also says: "As of SQLAlchemy 0.7, composites have been simplified 
such that they no longer “conceal” the underlying column based attributes"

Does this mean that you can do a query like this:

session.query(Vertex).filter(Vertex.start.x == 3)

Does this work or is there a way to do this or do I have to query using the 
corresponding column definitions of the table object?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/TUTlybahglQJ.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to