ER_NO_DEFAULT_FOR_FIELD
in bulkCreate and updateOnDuplicate
#16520
Unanswered
souvikinator
asked this question in
Help & Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I have a model:
now I am trying to do:
On running this it throws error:
Error: Field 'images' doesn't have a default value
I console logged
products
that I am passing to bulkCreate andimages
do have a value for each product.Also the raw query generated :
why is it only passing 3 fields in the insert into? can anyone explain what's happening here?
Beta Was this translation helpful? Give feedback.
All reactions