New version of <#CPVLZ7LBT|lychee> is out with JDB...
# opensource
m
New version of #lychee is out with JDBC/SQLite templates support! Sample:
Copy code
val sumAndMul = session.query(
        "SELECT ? + ?, ? * ?", i32, i32, i32, i32,
        struct(projection(i32 * i32), BindBy.Position)
)
val (f, s) = sumAndMul(80, 4, 6, 8)
assertEquals(Pair(84, 48), Pair(f, s))
https://github.com/Miha-x64/Lychee/releases/tag/0.0.12