* Ash Berlin <[EMAIL PROTECTED]> [2006-06-23 01:40]:
> A. Pagaltzis wrote:
> > Errm, seriously: you find that more readable than literal
> > SQL?
> 
> No, just more portable. What if you change the table name but
> forget to change it one place in your code, or add an age
> column to another table etc. etc.

For that you can tokenize the SQL and look for special symbols to
replace. That’s much less work to implement and much easier to
read for the API user.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to