KyselyK
Kysely3y ago
4 replies
significantotter

Why is eb inferred as any in this update query?

I'm trying to do an update from values inserted in a CTE. But the update's set operation doesn't seem to properly infer a type for the
eb
variable in its expression builder. If I change the where clause to an eb callback, it does properly infer the type, which makes me concerned I'm not doing this correctly.

Am I doing something wrong? Is this a minor typing bug?

Here's the code example:
https://kyse.link/?p=s&i=zmq2zEhTRnuYMyHNhhyc
Was this page helpful?