SferaDev
SferaDev
XXata
Created by brownfox.dev on 11/7/2024 in #general
Hey, I got xata working with kysely on
Yeah, connections in kysely are not long lived
3 replies
XXata
Created by _4kb on 10/9/2024 in #help
Unable to get query using dynamic table
Instead of getXataClient() you can create the BaseClient and pass the tables as parameter in the client constructor, but you'll loose all type safety.
10 replies
XXata
Created by _4kb on 10/9/2024 in #help
Unable to get query using dynamic table
When using a dynamic table, the schemas become a union of all tables and type safety might be lost, you can attempt to cast the table name property to one that you know the schema is correct to get proper types.
10 replies