Skip to content

OpenJ92/database_image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dbm

Version 2.0 under construction

This package seeks to construct Tree x Graph structure from queries to information_schema objects in a variable Database implementation. With such a structure, one can materialize queries to the imaged database through graph traversals and populate templated files of any kind that depend on the database structure. An example of the latter might be dbt or looker configuration files. Additionally, I look to serialize and store these structures so that one can explore a history of a given database and alert the user of changes and carry out templating actions.

Usage

Potential usage of dbm from terminal.

dbm init --config config.file.yml
dbm inspect --config config.file.yml 
dbm act --config config.file.yml --action sqlalchemy --target path/to/file/output.py

dbm.1

Database : src/database

Implementation specific configuration for proper execution of dbm. To contribute an implementation, navigate to the above link.

Context : src/context

Object containing Connection, and executing Database Image. Actions act on a context.

Connect : src/connect

Connection to provided database implementation.

Structures : src/struct

Tree and Graph data structures upon which your database is imaged.

Objects : src/objects

Nodes generated provided a database implementation.

About

Information_Schema image -- Jinja Templating

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages