Can't access a key via the ref key combination.
Type of available keys leads to never.
Here is an example:
import { Kysely } from 'kysely';
import { Json } from 'kysely-codegen';
// create a table with json values as it would be generated by codegen
type TestDB = {
testTable: {
testJsonColumn: Json;
};
};
const db = {} as Kysely<TestDB>;
// query the json field
await db
.selectFrom('testTable')
.select(b => b.ref('testJsonColumn', '->$').key('someKey').as('myKey'))
.execute();
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
Can't access a key via the ref key combination. Type of available keys leads to never.
Here is an example:
Upvote & Fund