sequlize findOrCreate not working properly #13507
Unanswered
Taqiarzoo
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
-
im importing large excel sheet to data base for which im using findorcreate so that if entery is already exist in database it dosent get inserted again
like bellow
`let wb=xlsx.readFile(file)
the unique entries are not getting inserted,
instead if i have 10 distinct Areas is area field the last entry is inserted 10 times
if Area entries are like
in this case i want
entries like
but im getting
only member model is working properly
i think im missing something or doing things in a wrong way
if plz any can help me on this
Beta Was this translation helpful? Give feedback.
All reactions