NAME
OpusVL::SysParams::Schema::Result::SysInfo
VERSION
version 0.19
ACCESSORS
name
data_type: 'text'
is_nullable: 0
original: {data_type => "varchar"}
value
data_type: 'text'
is_nullable: 1
original: {data_type => "varchar"}
comment
data_type: 'text'
is_nullable: 1
original: {data_type => "varchar"}
decoded_value
Returns the value that the get method returns. This may be any arbitrary data (simple) type.
viable_type_conversions
Returns an arrayref of the types we can probably convert this value to. Also returns the current type.
For a new row, this simply returns the whole set, because we haven't specified the type yet.
METHODS
convert_to
Converts the value to the provided data type (see viable_type_conversions
), if necessary. Returns the decoded value, i.e. a Perl data structure.
Expected types are,
text
array
textarea
set_type_from_value
Attempts to guess the data type of the provided value, which defaults to the row's value if not provided. Sets the data_type
property on the field, but doesn't save it.
AUTHOR
OpusVL - www.opusvl.com
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 - 2016 by OpusVL - www.opusvl.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.