[Dbix-class] DBIx, Postgres and Camel Case in field and table names

Jan Eskilsson janeskil1525 at gmail.com
Mon Feb 23 12:32:40 GMT 2015


Hi Andrew


Super thanks, excatly what i needed, saved my day !


Best Regards
Jan Eskilsson

2015-02-23 14:11 GMT+04:00 Andrew Beverley <andy at andybev.com>:

> On Mon, 2015-02-23 at 14:01 +0400, Jan Eskilsson wrote:
> > Is there a way to make DBIx automatically quote table and field names
> > in the generated SQL ?
>
> Yes, with the quote_names option:
>
> https://metacpan.org/pod/DBIx::Class::Storage::DBI#quote_names
>
> Regards,
>
> Andy
>
>
>
> _______________________________________________
> 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
>



-- 
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

Please consider the environment before you print this email.

(1) The contents of this transmission are privileged and confidential and
intended solely for the use of the addressee. Any disclosure, distribution
or copying of the contents, other than by the addressee, is strictly
prohibited. If you receive this transmission in error, please notify us
immediately and destroy the material received.
(2) All incoming and outgoing emails and any attachments are subjected to a
virus scanner and are believed to be free of any virus, or any other defect
which might affect any computer or IT system into which they are received
and opened. Therefore, it is the responsibility of the recipient to ensure
that they are virus free and no responsibility is accepted by Jan Eskilsson
 for any loss or damage arising in any way from receipt or use thereof.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20150223/ec70b456/attachment.htm>


More information about the DBIx-Class mailing list