john-kelly / elm-postgrest

Make PostgREST requests in Elm
109 stars 14 forks source link

jsonb, json, and array support #42

Open john-kelly opened 7 years ago

john-kelly commented 7 years ago

check the change log: https://github.com/begriffs/postgrest/releases

apparently you can order (maybe filter) by nested json.

as an aside. this may affect naming of things: ecto calls this embedded schemas

john-kelly commented 7 years ago

Django still calls them fields: https://docs.djangoproject.com/en/1.10/ref/contrib/postgres/fields/#postgresql-specific-model-fields

john-kelly commented 7 years ago

Composite vs scalar https://github.com/begriffs/postgrest/blob/master/src/PostgREST/Types.hs

john-kelly commented 7 years ago

Also https://www.postgresql.org/docs/9.6/static/extend-type-system.html