[Dbix-class] Read only resultsets

Dan Horne dan.horne at redbone.co.nz
Wed Aug 11 23:08:08 GMT 2010


The recent discussion on read only objects has got me wondering. Say one has
an app which basically sends result sets to TT templates. What stops a
malicious designer from doing DB updates in the templates since they have
the RS objects? I could mimic the DBI solution of returning arrayrefs of
hashrefs, but that doesn't allow for the chaining of methods to get related
resultsets, Nor would it give me access to pagination info.

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20100812/f73=
fb381/attachment.htm


More information about the DBIx-Class mailing list