I believe that some (or more) methods don't do quoting if you use a scalar ref...

Tried fieldX => \'CURRENT_TIMESTAMP' ?

[EMAIL PROTECTED] wrote:
hi,

when I'm using $schema->ruleset('table')->create({ ..... fieldX =>
'CURRENT_TIMESTAMP' ..});
The fieldX is set to "0000-00-00 00:00:00"  instead of current timestamp,
probably 'cause it
interpreters it like string instead of value. How can I tell dbix that it
should interpeter value literaly
instead quoting it ?

thanx



******************************************************************************
This communication (including any attachments) may contain privileged or
confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should
delete this communication and/or shred the materials and any attachments and
are hereby notified that any disclosure, copying, or distribution of this
communication, or the taking of any action based on it, is strictly prohibited.

Thank you.


_______________________________________________
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]/


_______________________________________________
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