[Bug] doesn't return record id after the inserting a record
Opened this issue · 0 comments
fzerman commented
When I attempted to get id
of a record after inserting it, it returns 0 as id.
Please fix it.
My solution:
project.save()
p_id = Project().objects().filter(name="name"])[0].id
This is not effective.