abel-matsec

Results 7 comments of abel-matsec

Just poking on this thread that we have a use case where this functionality would be very useful.

This seems reasonably straightforward to support. There are already examples of postgres only lockmodes in sequelize today: (i may poke at a diff to see how hard this actually is...)

Seems like there are two ways to go about this: 1) Add new lock modes with NOWAIT appended. 2) Expose a new "lock option" that is a separate param specified...

Ah, and just discovered in master that `skipLocked` is already exposed. I'll get a diff that uses a similar pattern for nowait.

Ok, PR submitted. If there is support for it, I'll go ahead and get the website docs PR together. But will hold off on that until I confirm it's worth...

Here's a bit of a hack... ``` export class StrictMocker extends Mocker { protected getEmptyMethodStub(key: string, args: any[]): MethodStub { return new ThrowErrorMethodStub(-1, [], new Error(`${key} not mocked`)); } }...

Hello! We are on current 6.x and affected by this bug. It appears to only be merged into 7.x, but we're not able to upgrade to 7.x until it moves...