File: Order.pm

package info (click to toggle)
libclass-dbi-perl 3.0.17-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 548 kB
  • ctags: 251
  • sloc: perl: 2,118; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 347 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package Order;

BEGIN { unshift @INC, './t/testlib'; }

use strict;
use base 'Class::DBI::Test::SQLite';

__PACKAGE__->set_table('orders');
__PACKAGE__->table_alias('orders');
__PACKAGE__->columns(Primary => 'film');
__PACKAGE__->columns(Others  => qw/orders/);

sub create_sql {
	return qq{
		film     VARCHAR(255),
		orders   INTEGER
	};
}

1;