Giter Club home page Giter Club logo

cql's People

Contributors

aisrael avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

nljms

cql's Issues

Support for MySQL

Currently, CQL only supports PosgreSQL. It'd be good to support MySQL as well (since Crystal already has a database driver for it).

Question: Have you considered teaming up with this project and combine forces?

Link: https://github.com/drum445/objectify

He appears to have the low-level supports you need, while you have a unique style for the upper layers. Together you might actually produce a Sequel for Crystal. I use Sequel in Ruby extensively and the lack of something just like it is sort of making me pause. Most of the ORM guys for Crystal use a single-db driver/binding approach --> as if the world only uses ActiveRecord's approach. However, my use cases ALWAYS require multiple databases and multiple drivers at the same time. I need to sync dbs across drivers and across technologies. If I use models at all they will need to track what db they are associated with. This is no big deal really, but it needs to be factored into the ORMs architecture to support such things.

I am still new to Crystal or I'd offer to help as I would dearly love to see Sequel on Crystal. Sequel is by far THE best ORM I've ever used, and it really needs a home in Crystal. I approached the author who claimed it was 'impossible' to port it to Crystal, but I don't believe that in the slightest. I am pretty comfy with MySQL and if you establish an IRC channel or Gitter channel for this project I could certainly share what I know as I've used it for years.

Cheers, and keep going!

G.

Migrations

Hello!

I see CQL::Command (with CreateTable) and I think that will be nice to have a migrations DSL, like Sequel does. Maybe in a separated shard.

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.