Closed aaleotti-unimore closed 7 years ago
I think the issue is that you're explicitly setting the id
column. Twistar is designed to use autoincrementing id
values at the DB level (in the case of Postgres, this would be a SERIAL PRIMARY KEY
column type), which is why you don't have a lastval
defined.
thanks that solved me everything.
I suggest to specify that more explicitly in the docs PS: thanks for all the work. twistar solves me a lot of tedious SQL scripting
At the end onf an insertion query, twistar calls lastval() and causes the postgres driver to fail. how to solve that?
last line says "lastval not yet defined in this session"
how to avoid that?