[Dbix-class] Set Operations in DBIC

Newton SBM newton.sbm at gmail.com
Wed Aug 10 13:12:14 GMT 2011


I am working in a project that involves many groups and we all use the same
database schema and the same DBIC layer to this schema so I dont want to
alter my Resultset classes to keep the compatibility with the other groups.

On Wed, Aug 10, 2011 at 5:57 AM, Peter Rabbitson <rabbit+dbic at rabbit.us>wro=
te:

> Newton SBM wrote:
>
>> Hi, I need to perform set operations using DBIC just in the same way
>> describe by Fernando Aguero
>> in a previous question: UNION, INTERSECTION and Nested Queries (2007) <
>> http://www.grokbase.com/t/lists.scsys.co.uk/dbix-class/2007/05/dbix-clas=
s-union-intersection-nested-queries/23shv43shjhehk2djntkcrzwtlui>
>>
>>  I have the same problem that my conditions are set by the user so I can
>> not define a new result source based on my query.
>> I looked at DBIx::Class::Helper::ResultSet::SetOperations but I cannot
>> modify my resultset class.
>>
>
> Elaborate on the origin and nature of your restriction ("cannot modify
> resultset class")
>
> Cheers
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive:
> http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20110810/84d=
c4db5/attachment.htm


More information about the DBIx-Class mailing list