-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
kysely@0.26.0 removed "the deprecated orWhere, whereExits etc. methods".
Unfortunately, this breaks the postgres-introspector at line 70, required (obviously) for migrations.
Would it be possible to make a backwards compatible change, something like
.where(
(qb) => typeof qb.where === 'function'
? qb.where("c.relkind", "=", "r").orWhere("c.relkind", "=", "v")
: qb("c.relkind", "=", "r").or("c.relkind", "=", "v")
)Or maybe specify the kysely peer dependency should be <0.26.0, instead of any 0.x version?
Otherwise, very much enjoying the library. Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels