hfar

Results comments of hfar

Hello , I am new on this .. i couldn't understand how this get solved. I am using "belongsToMany" and when using include i can see duplicate results coming for...

Many thanks Mick..you are correct removing the `through` solved the issue. and I am very sorry about formatting the code .. code is formatted now.

Very sorry about this ,below is smaller test case hope it helps: transaction details: - Destroy all records in `VenueTag` (deleted At). - Then update/insert tags using `upsert()`. - The...

thanks Jan ,but i get another error now after updating this `ER_LOCK_WAIT_TIMEOUT: Lock wait timeout exceeded; try restarting transaction` This error happens on `upsert()` ,can you please advise.

look like it worked for me ,i just replaced the code below ``` function createOrUpdateVenueTag(tag) { return db.VenueTag.upsert({ venueId: null, tagId: tag.tagId, venueTagDeletedAt: null }); } return sequelize.Promise.map(req.body.Tags, createOrUpdateVenueTag); ```...

thanks so much :) everything works as expected right now.

@alvin0618 i have same issue did you find a solution ?

I am not sure if my workaround to fix above issue will work with you guys look like the problem is : when using `setDates` time is added to dates...

try : moment(date).format('YYYY-MM-DD')