sql icon indicating copy to clipboard operation
sql copied to clipboard

A delightful SQL ORM ☺️

Results 27 sql issues
Sort by recently updated
recently updated
newest added

```crystal post = Post.where(id: 1).join(:author) { |x| x.select(:id, :name) } pp post # ``` Should work without `:id`.

enhancement

Would build to `WHERE field > a AND field < b`. Should raise if the type is neither `Number` nor `Time`.

idea

```crystal class Article schema articles do type tags : Array(Tag), through: TagRelation, foreign_key: "article_id" end end class Tag schema tags do type value : String type articles : Array(Article), through:...

enhancement

Either change the error message from `Cannot append empty INSERT values. Ensure to call #insert before. Or if you want to insert all columns default, use 'INSERT INTO table DEFAULT...

enhancement