Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arrayWith5ThousandObj.map(data => {
- knexDb('users').where({
- user: data.user,
- })
- .update({
- product: data.product
- })
- .catch(err => console.error('update user products', err))
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement