JVAAS / jvaas-postgresql

Type-safe, non-blocking, async binding generator for PostgreSQL queries prototype in Kotlin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cater for duplicate input / output columns

janvladimirmostert opened this issue · comments

SELECT id, id, id FROM ... WHERE id = ?, id > ?, id < ? + 1

will generate a data class with 3 tableId params which is not going to compile

Similarly with input params

Typical use-case would be UPDATE queries,
UPDATE field SET field = ? WHERE field = ?