GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DBIX::CLASS::STORAGE::DBI::INFORMIX (3)

.ds Aq ’

NAME

DBIx::Class::Storage::DBI::Informix - Base Storage Class for Informix Support

CONTENTS

DESCRIPTION

This class implements storage-specific support for the Informix RDBMS

METHODS

    connect_call_datetime_setup

Used as:



  on_connect_call => datetime_setup



In connect_info to set the DATE and DATETIME formats.

Sets the following environment variables:



    GL_DATE="%m/%d/%Y"
    GL_DATETIME="%Y-%m-%d %H:%M:%S%F5"



The DBDATE and DBCENTURY environment variables are cleared.

<B>NOTE:B> setting the GL_DATE environment variable seems to have no effect after the process has started, so the default format is used. The GL_DATETIME setting does take effect however.

The DATETIME data type supports up to 5 digits after the decimal point for second precision, depending on how you have declared your column. The full possible precision is used.

The column declaration for a DATETIME with maximum precision is:



  column_name DATETIME YEAR TO FRACTION(5)



The DATE data type stores the date portion only, and it <B>MUSTB> be declared with:



  data_type => date



in your Result class.

You will need the DateTime::Format::Strptime module for inflation to work.

FURTHER QUESTIONS?

Check the list of additional DBIC resources.

COPYRIGHT AND LICENSE

This module is free software copyright by the DBIx::Class (DBIC) authors. You can redistribute it and/or modify it under the same terms as the DBIx::Class library.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DBIX::CLASS::STORAGE::DBI::INFORMIX (3) 2016-02-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.