sqlobject-admin [options] command
The sqlobject-admin tool included with SQLObject allows you to manage your database as defined with SQLObject classes.
Some of the features include creating tables, checking the status of the database, recording a version of a schema, and updating the database to match the version of the schema in your code.
The following commands are recognized:
- Show the help text.
- Find the tables and create them. Existing tables are simply skipped.
- Show the SQL to create all the tables.
- Drop tables. Missing tables are skipped.
- Execute an arbitrary SQL expression.
- List out all the found classes.
- Show if tables are present in the database.
- Record historical information about the database status
- Update the database to a new version (as created by record)
-c CONNECTION, --connection=CONNECTION
- Connection string for the database .
-f FILENAME, --config-file=FILENAME
- Configuration file from which to get the connection to the database.
-m MODULE, --module=MODULE
- A module to look in for classes.
-p PACKAGE, --package=PACKAGE
- A package to look in.
- Restricting the found classes to the matching classes.
- Egg description that should be loaded.
This manual page was written by Carl Chenet <[email protected]>.
This package is licensed under the GNU Lesser General Public License version 2.1 (or later). You can find the full text of the LGPL in /usr/share/common-licenses/LGPL in your Debian system.