Hello Alex,

Check 
http://search.cpan.org/dist/DBIx-Class/lib/DBIx/Class/Manual/Cookbook.pod#Setting_quoting_for_the_generated_SQL

Have fun,

Nuba


On Tue, 6 Jul 2010, Alex Povolotsky wrote:

Date: Tue, 06 Jul 2010 14:17:29 +0400
From: Alex Povolotsky <[email protected]>
Reply-To: "DBIx::Class user and developer list" <[email protected]>
To: DBIx:  ":Class user and developer list" <[email protected]> ;
Subject: [Dbix-class] Force tables/fields names quoting in mySQL

Hello!

I'm working on a bit weird base with wide usage of keywords as tables names. I know it's bad practice but 'we cannot redevelop tables structure', so I have to quote table names.

MySQL allows it, using backticks; does DBIx::Class allow more or less easy handling of it, including automation of schema creation?

Alex.


_______________________________________________
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/[email protected]


--

_______________________________________________
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/[email protected]

Reply via email to