Inconsistent behavior of psql types.
CREATE TABLE example(
id SERIAL4 PRIMARY KEY NOT NULL
);
-- name: test :many
SELECT id FROM example;
The generated table model is
data class Example(
val id: Any
)
Would expect the type to be Int instead of Any.
Maybe affects other serial or float types I have not tested this yet.
For e.g. int4 works ok.
Inconsistent behavior of psql types.
The generated table model is
Would expect the type to be Int instead of Any.
Maybe affects other serial or float types I have not tested this yet.
For e.g. int4 works ok.