App::AutoCRUD::Controller::Table - Table controller
This controller provides methods for searching and describing a given table within some datasource.
Entry point to the controller; from the URL, it extracts the table name and the name of the method to dispatch to (the URL is expected to be of shape table/{table_name}/{$method_name}?{arguments}). It also sets the default template to table/{method_name}.tt.
table/{table_name}/{$method_name}?{arguments}
table/{method_name}.tt
Returns a hashref describing the table, with keys descr (description information from the config), table (table name), colgroups (datastructure as returned from "colgroups" in App::AutoCRUD::DataSource), and primary_key (arrayref of primary key columns).
descr
table
colgroups
primary_key
Returns a list of records from the table, corresponding to the query parameters specified in the URL. [TODO: EXPLAIN MORE -- in particular the "-template" arg ]
To install App::AutoCRUD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::AutoCRUD
CPAN shell
perl -MCPAN -e shell install App::AutoCRUD
For more information on module installation, please visit the detailed CPAN module installation guide.