onyxframework / sql

A delightful SQL ORM ☺️
https://api.onyxframework.com/sql
MIT License
91 stars 7 forks source link

Allow to use enumerable types other than Array #90

Open vladfaust opened 5 years ago

vladfaust commented 5 years ago

Use-case – unknown structure JSON:

type payload : Hash(String, String), converter: PG::JSONB(Hash(String, String))

Or unique enumerables as set:

type tags : Set(String), converter: PG::Set(String)