Pinwheel::Model::Base - Base class for PinWheel models
# Given $obj which is some PinWheel model... $obj->has_key($column_name); $column_names = $obj->keys; # unordered array ref $value = $obj->get($key); $sql_param = $obj->sql_param; @route_params = $obj->route_param;
Returns true iff
$obj has a key named
$key. If the column hasn't been fetched yet,
has_key returns false.
Return an (unordered) list of the current data keys in the model object. This only includes the columns where data has been fetched.
TODO, document me.
$obj into a SQL query parameter; see Model.
$obj into route parameter(s); see Mapper.
A&M Network Publishing <DLAMNetPub@bbc.co.uk>