Hey! Using SQLDelight I was wondering how to pass ...
# squarelibraries
t
Hey! Using SQLDelight I was wondering how to pass a default value for Serial, For example I have this table,
Copy code
CREATE TABLE IF NOT EXISTS Test(
  id SERIAL PRIMARY KEY,
  name TEXT
)

insertFull:
INSERT INTO Test(id, name) VALUES ?;
And in code I would do something like
Copy code
database.testQueries.insertFull(Test(1, ""))
Because id is Serial it should auto increment so how do I represent that in code?