1 package DBIx::Class::Schema::Loader::DBI::Sybase::Common;
5 use base 'DBIx::Class::Schema::Loader::DBI';
8 our $VERSION = '0.07035';
12 DBIx::Class::Schema::Loader::DBI::Sybase::Common - Common methods for Sybase
17 See L<DBIx::Class::Schema::Loader> and L<DBIx::Class::Schema::Loader::Base>.
21 # DBD::Sybase doesn't implement get_info properly
22 sub _build_quote_char { '[]' }
23 sub _build_name_sep { '.' }
28 $self->next::method(@_);
30 $self->schema->storage->sql_maker->quote_char([qw/[ ]/]);
31 $self->schema->storage->sql_maker->name_sep('.');
34 # remove 'IDENTITY' from column data_type
35 sub _columns_info_for {
37 my $result = $self->next::method(@_);
39 foreach my $col (keys %$result) {
40 $result->{$col}->{data_type} =~ s/\s* identity \s*//ix;
48 L<DBIx::Class::Schema::Loader::DBI::Sybase>,
49 L<DBIx::Class::Schema::Loader::DBI::MSSQL>,
50 L<DBIx::Class::Schema::Loader::DBI::ODBC::Microsoft_SQL_Server>,
51 L<DBIx::Class::Schema::Loader::DBI::Sybase::Microsoft_SQL_Server>,
52 L<DBIx::Class::Schema::Loader::DBI>
53 L<DBIx::Class::Schema::Loader>, L<DBIx::Class::Schema::Loader::Base>,
57 See L<DBIx::Class::Schema::Loader/AUTHOR> and L<DBIx::Class::Schema::Loader/CONTRIBUTORS>.
61 This library is free software; you can redistribute it and/or modify it under
62 the same terms as Perl itself.