smassin
smassin
I may be missing something but this doesn't appear to cover the case where you have eager loaded an association for use with processing but don't want it to be...
Updated description with proper fix after more testing.
I would have to respectfully disagree as it causing a confusing behavior when something like belongsTo follows said behavior when using as. In my example I have made the following...
@felixfbecker Ok thanks, I misunderstood what `as` was being was being used for in hasMany. But then why the inconsistency with belongsTo where it applies the aliased name to the...
Thanks for the explanation.
In general literal is good and has great uses. The benefit is that the (a) the functionality stays in the javascript and not in constant strings. That means name changes...
'Also you propose Sequelize.increment to behave different in different scenarios, On insert its just an assignment and on update its relative. That seems wrong to me' True. After more thought...
Hi @sushantdhiman, thanks for the response. Yes looking at the source it looks like that does cover the case. I would be happy to use it however I see this...
@sushantdhiman Outside of the high concurrency problem as mentioned above there is also another useful case for this feature: When using findOrCreate with a unique index to govern the duplicates...
Thanks for the response. I can change the solution code to preserve this however this poses a tricky situation. Can you help me answer the following questions before i make...