Db server in India
What is the best way to connect to two databases to the same project?
xata init
to initialise the project with one database and I was thinking it could be best to set up another XataClient with the other database URL, however this will mean the types will be out. Any help would be great!Field Names that are all caps cause Typescript Error.
No overload matches this call.
The last overload gave the following error.
Argument of type 'string' is not assignable to parameter of type '(Partial<EditableData<UsersRecord>> & Identifiable)[]
No overload matches this call.
The last overload gave the following error.
Argument of type 'string' is not assignable to parameter of type '(Partial<EditableData<UsersRecord>> & Identifiable)[]
Query syntax in Typescript sdk
My Web UI seems to be down currently
dataPlanefetcher.ts
is pending since a couple of minutes. I tried refreshing, signing out and in, clearing cache but nothing seems to be working. The request is just not getting through and my UI is completely empty.
this is the section in the client-side code that fires the request:
dataPlanefetcher.ts:94:
```...Idea for Table-UI
Is there a easier way to handle JSONData without type checking every time
Question about types in the Typescript client
Running queries with DISTINCT
Different results using summarize vs filtering
Diagnosing Constraint Violation
Can IDs of rows in different branches collide?
Slow Intellisense using VSCode on large Typescript Project
Objects with json columns after a summaries request provide properties as strings
Import CSV from UI saves data in `main` branch but not in the selected branch
main
branch, but not in the selected branch....Error in Next.js app with inserting a record
Uncaught Error: You are trying to use Xata from the browser, which is potentially a non-secure environment. If you understand the security concerns, such as leaking your credentials, pass `enableBrowser: true` to the client options to remove this error.
Uncaught Error: You are trying to use Xata from the browser, which is potentially a non-secure environment. If you understand the security concerns, such as leaking your credentials, pass `enableBrowser: true` to the client options to remove this error.
Migrations across workspaces
main
database to any other branch in that database (I do what we can see in Xata's UI, but in code, but wanted to know if we can do it across workspaces.
...