`Serial` field won't updates automatically aftes saving in Postgres
Opened this issue · 0 comments
metakot commented
piccolo==1.5.0
piccolo_admin==1.3.2
piccolo_api==1.4.0
So I have a table in Postgres:
class Example(Table):
number = Serial()
Saving it
example = Example()
await example.save()
print(example.number)
it just prints
DEFAULT
refreshing it with await example.refresh()
fills the field with value.
I think this is a low priority issue but confusing nonetheless.