sgpinkus

Results 73 comments of sgpinkus

I pushed another commit to dev making `Cursor` Traversable and tied it to this after searching for tickets on "iterator" support. But on review, just being Iterable, and this ticket...

Yeah I just grabbed the first link off Google without looking that hard. Its really not that controversial? The difference between fetch() and fetchAll() is straight forward. Currently the DB...

@ikkez Regarding one of the issues you hit; To be able to navigate a MySQL cursor back and to absolute addresses as would be required by `skip()` you need to...

> I'm going to make the install more like esbuild and only use npm. @dsherret so you mean just put the binary in the npm packge? :+1: for that. Install...

A work around is like `z.union([z.literal(-1), z.literal(1)])`

@hasezoey thanks. Just to be clear, as far as I understand, there are "lean" caveats to above. Example: `doc.toObject().myMethod()` will compile and result in runtime error. Main thing I wanted...

I just mean typing of `this` within methods MyClass. What I did was: ``` class MyStatics extends Model { ... } class MyMethods extends Document { ... } ... schema.loadClass(MyStatics}...

> i am not quite sure what you are asking; are you maybe asking how to set the correct this type for methods in the class? Yes exactly. I'm aware...

> i dont think typescript supports redefining the this I doesn't, except via inheritance.