wiki:XasModel
Last modified 2 years ago Last modified on 12/23/15 15:17:21

NAME

XAS::Model - Database abstraction layer for the XAS Middleware Suite

DESCRIPTION

The database abstraction layer is built upon DBIx::Class which is robust ORM for Perl. The modules provided try to make working with databases easier.

UTILITIES

These utility procedures are provided with this package.

xas-create-schema

This procedure will create a database schema. by default this is for SQLite. Others databases may be defined on the command line.

xas-create-schema --help

This will display a brief help screen on command options.

xas-create-schema --manual

This will display the utilities man page.

xas-pg-extract-data

This procedure will extract the data from a PostgreSQL dump file. This is done by table, which can be defined on the command line.

xas-pg-extract-data --help

This will display a brief help screen on command options.

xas-pg-extract-data --manual

This will display the utilities man page.

xas-pg-extract-global

This procedure will extract global data from a PostgreSQL dump file.

xas-pg-extract-global --help

This will display a brief help screen on command options.

xas-pg-extract-global --manual

This will display the utilities man page.

xas-pg-remove-data

This procedure will remove the data elements from a PostgreSQL dump file. This is usefull for recreating a database schema.

xas-pg-remove-data --help

This will display a brief help screen on command options.

xas-pg-remove-data --manual

This will display the utilities man page.

SEE ALSO

XAS::Model::Database

XAS::Model::DBM

XAS::Model::Schema

XAS::Apps::Database::ExtractData

XAS::Apps::Database::ExtractGlobals

XAS::Apps::Database::RemoveData

XAS::Apps::Database::Schema

XAS

AUTHOR

Kevin L. Esteb, <kevin@…>

COPYRIGHT AND LICENSE

Copyright (c) 2012-2015 Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.