[Dbix-class] multi column select distinct patch

luke saunders luke.saunders at gmail.com
Thu Apr 6 16:34:56 CEST 2006


As discussed on #dbix-class attached is a patch which contains the
following:

- horrific but temporary hack to allow SQLite and Oracle to do counts on
resultsets with multiple column select distincts
- tests to check this
- a change to the cookbook to add some clarity to the select -> { count => {
distinct => [...] } } stuff

Notes:
- I've made a class called Retarded.pm <http://retarded.pm/> which should
probably be renamed to something less offensive
- the hack should be replaced with something sane once there is subselect
support

Cheers,
Luke / captainL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/dbix-class/attachments/20060406/37cd6c1a/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multicol.patch
Type: application/octet-stream
Size: 4585 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/dbix-class/attachments/20060406/37cd6c1a/attachment.obj 


More information about the Dbix-class mailing list