kit-clj / kit

Lightweight, modular framework for scalable web development in Clojure
https://kit-clj.github.io/
MIT License
473 stars 44 forks source link

Add docs for new SQL libraries #27

Open nikolap opened 2 years ago

nikolap commented 2 years ago

Update

arca0 commented 2 years ago

I can work on the easier changes for this one.

arca0 commented 2 years ago

https://github.com/kit-clj/kit-clj.github.io/pull/15

markokocic commented 2 years ago

Any reason why kit-sqlite module is not included into the sql mix?

nikolap commented 2 years ago

There's nothing sqlite specific in the module that needs to be a separate library. Postgres and MySQL have some conveniences for dealing with structured data. To be honest, I'm not a fan of them as part of Kit either, think these are things that people can choose for themselves how they want to handle, e.g. how to serialize/deserialize JSONB.

If there is specific serialization utilities to include for sqlite, we can add it.

markokocic commented 2 years ago

My question was referring to the fact that sqlite is available as a module and not profile, while all other DBs are available as profiles and not modules.

nikolap commented 2 years ago

The others can be added as modules, no reason not to