[PonyORM-list] Distinct result?
Matthew Bell
matthewrobertbell at gmail.com
Thu Jun 30 21:57:44 UTC 2016
Hello, if I have this query (from the docs)
select((p, c) for p in Person for c in p.cars if c.make in ("Toyota", "Honda"))
How can I have p be distinct, while c is not distinct?
select((distinct(p), c) for p in Person for c in p.cars if c.make in
("Toyota", "Honda"))
doesn't seem to work.
Thanks!
--
Regards,
Matthew Bell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </ponyorm-list/attachments/20160630/c3c9fabc/attachment.html>
More information about the ponyorm-list
mailing list