Code Monkey home page Code Monkey logo

sqlasagna's Introduction

Hi there ๐Ÿ‘‹

sqlasagna's People

Contributors

felixschwarz avatar ygbr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lirmont perdona

sqlasagna's Issues

Implement group_by on Mixin.

The group_by should return a grouped query object as in:

db.session.query(db.TableObj).group_by(db.TableObj.whatever)

Define how configuration will work.

We should define how to configure SQLAlchemy configuration.
We should be able to externally configure the engine and connection. We also should be able to reload mapping / reconnect.
We should be able to change connection strings on the fly and reconnect.
This is required for turning SQLasagna into a python package for public usage.

Implement the relationship automatic mapper.

We should get the relations based on ForeignKey analysis of the metadata reflected table lists.
Then we should update all relationship-linked objects and create the backref's.

Allow relationships configuration (overrides).

This way we can override relationships, backrefs, one-to-one, many-to-many configs.

Also this will allow us to disable relationship mappings which we do not want and set lazy or eager loading styles by default per relationship.

This should probably be a dict, past to the Lasagna initializer.

sqllasagna not in pypi

I cannot find sqlasagna in pypi, and therefore also not install it as described in the docs.

either the docs should be adjusted or the tool uploaded to pypi

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.