crecto icon indicating copy to clipboard operation
crecto copied to clipboard

Database wrapper and ORM for Crystal, inspired by Ecto

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

I have become extremely busy the last year or so, and I just dont have the time to commit to the Crecto community any more. Crecto currently doesn't work with...

help wanted
discussion

- actually test transaction operations (was using `Repo` instead of `tx` inside `transaction!` block - streamline CUD methods - add all read methods to `LiveTransaction` I noticed the using `Repo.all`...

on hold

I'm beginning to discover `crecto` and am having some difficulty using it. In particular, I stumble on the following problem: how to insert an instance of each data model, in...

In all my schema, I use non-standard id names. A many to many relationship with a through association fails when preloading with an all query.

cast to db before save and cast to user after read

Hello, I can't find a way to define an enum with Crecto. PostgreSQL type: ```sql CREATE TYPE enum_lang AS ENUM('en', 'fr'); ``` The column: ```ruby enum_field :enum_lang, Langs, column_name: "lang",...

Pull request for issue #237 . This implements the validate_required for empty_strings - so when an empty string is used for an attribute that is required it will fail the...

I wanted to check if this is intended or not. I'm happy to try and put together a pull request if you'd like this implemented. At the moment `validate_required` returns...