babashka / babashka-sql-pods

Babashka pods for SQL databases
Eclipse Public License 1.0
85 stars 16 forks source link

Change API to write json/jsonb/array #31

Closed borkdude closed 3 years ago

borkdude commented 3 years ago

Instead of metadata we will offer functions:

(db/as ... :json)
(db/as ... :jsonb)
(db/as ... :array)

This will be a breaking change, but less confusing.

arichiardi commented 3 years ago

This sounds like a great idea to me.

borkdude commented 3 years ago

@arichiardi This has changed to (db/write-json ...) and (db/write-jsonb ...).

arichiardi commented 3 years ago

Ok thanks for the heads up!