You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for developing such great library - it really simplified development of my software, because now I don't have to care about weird ORM magic.
The only issue is that whenever I create a new struct with the SERIAL column (ie. primary key) not set, it tries to create a new row with id 0 (because uninitialized int64 is 0). How can I use the nextval feature in PostgreSQL appends? If it's not possible, could you add such feature / shortly explain how can I add it on my own?
It currently freezed my development, as I can't finish the CRUD functionality of my API, so it'd be great if you could sort it out quickly.
The text was updated successfully, but these errors were encountered:
First of all, thank you for developing such great library - it really simplified development of my software, because now I don't have to care about weird ORM magic.
The only issue is that whenever I create a new struct with the SERIAL column (ie. primary key) not set, it tries to create a new row with id 0 (because uninitialized int64 is 0). How can I use the
nextval
feature in PostgreSQL appends? If it's not possible, could you add such feature / shortly explain how can I add it on my own?It currently freezed my development, as I can't finish the CRUD functionality of my API, so it'd be great if you could sort it out quickly.
The text was updated successfully, but these errors were encountered: