Brian Duggan > Rose-Planter-0.36 > Rose::Planter::Soil

Download:
Rose-Planter-0.36.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Rose::Planter::Soil -- default base object class for classes created by Rose::Planter.

DESCRIPTION ^

This provides a few extra handy functions and defaults for manipulating Rose classes.

METHODS ^

as_hash

Like Rose::DB::Object::Helper::as_tree but with a few differences :

- parent keys in a child table are excluded.

- datetimes are returned in ISO 8601 format.

- the parameter skip_re can be given to skip columns matching a regex.

- only one-to-one and one-to-many relationships are traversed

nested_tables

Get or set a list of "nested table" associated with this class. These are tables which are always retrieved alongside this one.

syntax highlighting: