aisrael / cql Goto Github PK
View Code? Open in Web Editor NEWA SQL toolkit for Crystal, inspired by Java's jOOQ and Ruby's Sequel gem
License: MIT License
A SQL toolkit for Crystal, inspired by Java's jOOQ and Ruby's Sequel gem
License: MIT License
Currently, CQL only supports PosgreSQL. It'd be good to support MySQL as well (since Crystal already has a database driver for it).
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.