NAME

DBIO::Sybase - Sybase-specific schema management for DBIO

VERSION

version 0.900000

SYNOPSIS

package MySchema;
use DBIO Schema => -syb;

# ... later ...
my $schema = MySchema->connect($dsn, $user, $pass);
# Storage is automatically set to DBIO::Sybase::Storage

DESCRIPTION

This class is a thin DBIO subclass that automatically sets the storage class to DBIO::Sybase::Storage when a connection is established. Load it into your schema instead of the base DBIO class when connecting to Sybase databases.

The recommended way to load the driver is the -syb shortcut (DBIO::Shortcut::syb):

use DBIO 'Schema', -syb;

which pins DBIO::Sybase::Storage as the schema's storage_type.

The storage will introspect the connected server type and rebless itself into the appropriate subclass: DBIO::Sybase::Storage::ASE for Sybase ASE servers, or DBIO::MSSQL::Storage::Sybase for Microsoft SQL Server accessed via DBD::Sybase.

METHODS

connection

$schema->connection($dsn, $user, $pass, \%attrs);

Sets the storage type to DBIO::Sybase::Storage before delegating to the parent connection method.

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.