\Q-uote column/alias names in regexes in _resolve_aliastypes_from_select_args
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Quotes.pm
CommitLineData
b25af2a8 1package # hide from PAUSE
2 DBICTest::Schema::Quotes;
3
4use warnings;
5use strict;
6
7use base 'DBICTest::BaseResult';
8
9# Include all the common quote characters
10__PACKAGE__->table('`with` [some] "quotes"');
11
12__PACKAGE__->add_columns(
13 '`has` [more] "quotes"' => {
14 data_type => 'integer',
15 is_auto_increment => 1,
16 accessor => 'has_more_quotes',
17 },
1c8dc11f 18 'has # comment' => {
19 data_type => 'integer',
20 accessor => 'has_comment',
21 },
22 artistid => {
23 data_type => 'integer',
24 },
b25af2a8 25);
26
1c8dc11f 27__PACKAGE__->belongs_to(artist => 'DBICTest::Schema::Artist', 'artistid');
28
b25af2a8 291;