Hi All,

I seems to commonly need to do a query which should return zero or one mapped objects.

.one() isn't what I want as no returned object is ok.

.first() isn't what I want as if my query would return more than one object, I have the query wrong and so want an exception.

Is there something already available that meets this need?

cheers,

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk

--
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 post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to