uw.local.deploy.bin package¶
Submodules¶
uw.local.deploy.bin.dump_binary module¶
Extract a single value from the database to a file.
This script takes a query and a filename. It runs the query, which must produce a single value that is either bytes or a string, and saves the result to the file. This is intended primarily for debugging and diagnosis purposes.
uw.local.deploy.bin.load_binary module¶
Load a single value from a file to the database.
This script takes a query and a filename. The query must contain the value placeholder %s in exactly one location. It reads the file as bytes, and executes the query, inserting the file contents at the placeholder. This is intended primarily for debugging and diagnosis purposes.