when im trying to create a new user and the type o...
# orm-help
m
when im trying to create a new user and the type of the Object is Users (model type), it requires to add
id
to the object, any way to avoid it?
✅ 1
n
Hey 👋 Do you want to create a record without a primary key (id) in this case? Could you also share your existing User model and query which you are invoking?
Do you want to use any other field instead of
id
as your primary key?
Are you still facing this issue?
It seems the issue is resolved, in case if it’s not, do let us know.