File: RawDate.pm

package info (click to toggle)
libtangram-perl 2.04-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 572 kB
  • ctags: 495
  • sloc: perl: 5,061; makefile: 36
file content (19 lines) | stat: -rw-r--r-- 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# (c) Sound Object Logic 2000-2001

use strict;

use Tangram::Scalar;

package Tangram::RawDate;

use base qw( Tangram::String );

$Tangram::Schema::TYPES{rawdate} = Tangram::RawDate->new;

sub Tangram::RawDate::coldefs
{
    my ($self, $cols, $members, $schema) = @_;
    $self->_coldefs($cols, $members, "DATE $schema->{sql}{default_null}");
}

1;