NAME
SQL::Entity::Column - Entity column abstraction.
SYNOPSIS
use SQL::Entity::Column ':all';
my $column = SQL::Entity::Column->new(name => 'name');
or
my $column = sql_column(name => 'name');
DESCRIPTION
Represents entities column, that maps to the table column, or sql expression.
EXPORT
None by default.
sql_column by tag 'all'
ATTRIBUTES
- id
-
Column alias
- name
- table
-
Table association
- entity
-
Entity association
- expression
-
Column expression: f.e. col1 || col2
- case_sensitive
- queryable
-
Flag is column can be use in where caluse
- insertable
- update_allowed
- unique
METHODS
- initialise
- to_string
- subquery_to_string
- as_operand
-
Returns column as condition operand.
- sql_column
COPYRIGHT
The SQL::Entity::Column module is free software. You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.
SEE ALSO
SQL::Entity SQL::Entity::Table SQL::Entity::Condition
AUTHOR
Adrian Witas, adrian@webapp.strefa.pl