SQL::Entity::Column::LOB - Entity LOBs column abstraction.


SQL-Entity documentation Contained in the SQL-Entity distribution.

Index


Code Index:

NAME

Top

SQL::Entity::Column::LOB - Entity LOBs column abstraction.

CLASS HIERARCHY

Top

 SQL::Entity::Column
    |
    +----SQL::Entity::Column::LOB

SYNOPSIS

Top

    use SQL::Entity::Column::LOB ':all';

    my $column = SQL::Entity::Column::Lob->new(name  => 'name', size_column => 'doc_size');
    or 
    my $column = sql_lob(name  => 'name', size_column => 'doc_size');

DESCRIPTION

Top

Represents entities lob column, that maps to the table lob column and column that stores lob size.

EXPORT

None by default.

sql_column by tag 'all'

ATTRIBUTES

size_column

Column that stores information about lob size

METHODS

sql_lob

COPYRIGHT

Top

SEE ALSO

Top

SQL::Entity SQL::Entity::Table SQL::Entity::Condition

AUTHOR

Top

Adrian Witas, adrian@webapp.strefa.pl


SQL-Entity documentation Contained in the SQL-Entity distribution.
package SQL::Entity::Column::LOB;

use strict;
use warnings;
use vars qw(@EXPORT_OK %EXPORT_TAGS $VERSION);

$VERSION = '0.02';

use Abstract::Meta::Class ':all';
use base qw(Exporter SQL::Entity::Column);

@EXPORT_OK = qw(sql_lob);
%EXPORT_TAGS = (all => \@EXPORT_OK);

has '$.size_column';

sub sql_lob {
    __PACKAGE__->new(@_);
}


1;

__END__