SQLOBJECT-ADMIN(1)

πŸ’– SQLOBJECT-ADMIN(1) πŸ’–

okay bestie, pull up a chair, because this is the General Commands Manual page for sqlobject-admin, and she is iconic. no cap.


✨ NAME ✨

sqlobject-admin β€” manage your database as defined with SQLObject classes 🫢


🌸 SYNOPSIS 🌸

sqlobject-admin [options] command

πŸ¦‹ DESCRIPTION πŸ¦‹

So the sqlobject-admin tool ships with SQLObject, and what it does is let you manage your database as defined with SQLObject classes. it's giving "your Python classes are the blueprint, the database is the build, and this little queen handles the construction." πŸ’…

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. literally all the glow-up maintenance your DB needs.


πŸ‘‘ COMMANDS πŸ‘‘

The following commands are recognized:

  • help β€” Show the help text. (she's helpful, she's humble πŸ’–)
  • create β€” Find the tables and create them. Existing tables are simply skipped. no drama, no overwriting.
  • sql β€” Show the SQL to create all the tables. it's giving ✨receipts✨
  • drop β€” Drop tables. Missing tables are skipped.
  • execute β€” Execute an arbitrary SQL expression. careful with this one, bestie πŸ™ˆ
  • list β€” List out all the found classes.
  • status β€” Show if tables are present in the database.
  • record β€” Record historical information about the database status
  • upgrade β€” Update the database to a new version (as created by record)

πŸ’… OPTIONS πŸ’…

  • -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.
  • --class=CLASSMATCH β€” Restricting the found classes to the matching classes.
  • --egg=EGG_SPEC β€” Egg description that should be loaded.

πŸŽ€ AUTHORS πŸŽ€

This manual page was written by Carl Chenet <chaica@ohmytux.com>. shoutout to the author, we love a documented tool 🫢


πŸ“œ LICENSE πŸ“œ

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. open source rights, periodt. πŸ’œ


and that's the whole page, bestie β€” go forth and manage those tables πŸ’–

signing off from the General Commands Manual, source/version SQLOBJECT-ADMIN(1), dated 06/03/2010 β€” slay responsibly ✨🌈