options.fields
removing a property of an instance
#16446
Unanswered
arka1002
asked this question in
Help & Questions
Replies: 2 comments
-
Any help ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
That's what the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Glitch link - https://glitch.com/edit/#!/sequelize-doubt
After giving the fields option in
Model.create()
method, theisAdmin
property gets removed, shouldn't it be isAdmin: false ? since the defaultValue is false in the Test ModelShall the community people kindly explain me why this is happening? I've read this -> https://sequelize.org/docs/v6/core-concepts/model-querying-basics/#simple-insert-queries
Beta Was this translation helpful? Give feedback.
All reactions