SferaDev
SferaDev
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