NAME

DBIO::DB2::Storage - IBM DB2 support for DBIO

VERSION

version 0.900000

DESCRIPTION

Storage driver for IBM DB2 databases. Handles autoincrement column retrieval via IDENTITY_VAL_LOCAL(), queries the server name separator from DBI, and sets the datetime parser to DateTime::Format::DB2.

Uses DBIO::DB2::SQLMaker for SQL generation with DB2-specific LIMIT/OFFSET support (ROW_NUMBER() OVER() for OFFSET, FETCH FIRST n ROWS ONLY otherwise).

METHODS

sql_name_sep

Returns the name separator character used by this DB2 server (e.g. .), queried from the server via SQL_QUALIFIER_NAME_SEPARATOR on first access.

deploy_setup

No-op stub for DB2. Present for API compatibility with other drivers that need to allocate resources before a deploy operation.

SEE ALSO

AUTHOR

DBIO & DBIx::Class Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.