Kannan Goundan

Results 28 comments of Kannan Goundan

More serious variant of the issue: ```ts const subExpr = () => { return db.test.a.or(db.test.b); } await db .select(db.test.a) .from(db.test) .where(db.test.xyz.and(subExpr()); await db .select(db.test.a) .from(db.test) .where(subExpr().and(db.test.xyz))); ``` ```sql SELECT test.a...

Small demo of the problem: https://gist.github.com/cakoose/5271c469142205d37c600000cc22bb3e

Re 1: Using an explicit `.exec()` appears to yield good stack traces: [snippet](https://gist.github.com/cakoose/131510fa5675e27ac188b23c94a85901). I would love to get it working for the plain `.then` as well, but I don't know...

> I do not see any performance differences in the happy path when enabling `asyncStackTraces` in Knex (there is a simple benchmark in the repo now). Are you referring to...

+1 for including TS definitions in the NPM package. Even without precise types for the constructor `fields` parameter, it's still very useful. For now I've been using @KristjanTammekivi's definitions with...

Also, just noticed that I get a non-zero exit code: ``` $ volta run --verbose -- yarn [verbose] [email protected] has already been fetched, skipping download [verbose] [email protected] has already been...

No, I never found the issue, but it mysteriously started working again some time later so I haven't looked into it further. @ide mentioned v8-compile-cache, so maybe that's a place...

@jinder: Interesting! The ".yarnrc.yml" file does have the Yarn berry version, e.g. ```yaml yarnPath: .yarn/releases/yarn-3.5.0.cjs ``` So maybe deleting it and re-running Yarn caused it to download a new version,...