Coder Social home page Coder Social logo

helms_db's Introduction

Helms Db

My good Legolas, did you know that the caverns of Helm’s Deep are vast and beautiful?

Sound like your database?

Do you wonder how many tables you have? Want to change the owner of all the entities in a particular db namespace? Need to generate an Entity Relationship diagram?

This is an effort to create a single CLI management interface for common databases.

Together, we can subdue your db. This day we fight!

Setup

I am (will be?) a Rails Engine.

Usage

db_config = { adapter: ‘postgresql’, database: ‘helm_db_test’ } db = Helm.find_database(db_config) #=> Postgresql::Database db.change_owner(‘Sauron’) #=> db (with new owner) db.tables #=> AR::Relationship of Tables

The Innards

  • Ruby >= 1.9.3

  • Dependencies are managed by bundler.

Design philosphies

Similar to jQuery, many methods are chainable.  If it doesn't have an obvious return value, we return the object that was acted upon (usually 'self').

Helping out

Contact me at [email protected] Fork, tweak in feature branch, pull request.

helms_db's People

Contributors

mattscilipoti avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.