zio / zio-quill

Compile-time Language Integrated Queries for Scala

Home Page:https://zio.dev/zio-quill

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhancement: support JSON operations for SQLite

vladimir-lu opened this issue · comments

commented

Version: 4.6.0
Module: quill-jdbc
Database: sqlite

Expected behavior

Since sqlite 3.38.0 JSON support has been baked in: https://www.sqlite.org/json1.html

It would be nice if both the json type and json functions were supported (similar to the postgres dialect #2615) .

Actual behavior

Only Postgres is supported

Steps to reproduce the behavior

N/A

Workaround

Write manual encoders/decoders + infix operators

@getquill/maintainers

commented

I will probably come up with some version of this for my own use and update here based on how nice it looks.