1DBIx::Class::Storage::DUBsIe:r:SCQoLnAtnryiwbhuetreedD(B3PI)exr:l:CDloacsusm:e:nSttaotriaogne::DBI::SQLAnywhere(3)
2
3
4

NAME

6       DBIx::Class::Storage::DBI::SQLAnywhere - Driver for Sybase SQL Anywhere
7

DESCRIPTION

9       This class implements autoincrements for Sybase SQL Anywhere, selects
10       the RowNumberOver limit implementation and provides
11       DBIx::Class::InflateColumn::DateTime support.
12
13       You need the "DBD::SQLAnywhere" driver that comes with the SQL Anywhere
14       distribution, NOT the one on CPAN. It is usually under a path such as:
15
16         /opt/sqlanywhere11/sdk/perl
17
18       Recommended connect_info settings:
19
20         on_connect_call => 'datetime_setup'
21

METHODS

23   connect_call_datetime_setup
24       Used as:
25
26           on_connect_call => 'datetime_setup'
27
28       In connect_info to set the date and timestamp formats (as temporary
29       options for the session) for use with
30       DBIx::Class::InflateColumn::DateTime.
31
32       The "TIMESTAMP" data type supports up to 6 digits after the decimal
33       point for second precision. The full precision is used.
34
35       The "DATE" data type supposedly stores hours and minutes too, according
36       to the documentation, but I could not get that to work. It seems to
37       only store the date.
38
39       You will need the DateTime::Format::Strptime module for inflation to
40       work.
41

MAXIMUM CURSORS

43       A DBIx::Class application can use a lot of cursors, due to the usage of
44       prepare_cached.
45
46       The default cursor maximum is 50, which can be a bit too low. This
47       limit can be turned off (or increased) by the DBA by executing:
48
49         set option max_statement_count = 0
50         set option max_cursor_count    = 0
51
52       Highly recommended.
53

AUTHOR

55       See "AUTHOR" in DBIx::Class and "CONTRIBUTORS" in DBIx::Class.
56

LICENSE

58       You may distribute this code under the same terms as Perl itself.
59
60
61
62perl v5.12.0                      2010D-B0I5x-:1:2Class::Storage::DBI::SQLAnywhere(3)
Impressum