Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note about default database branch in PostgreSQL connection string #356

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 020-Connect/010-Postgres/001-direct-access.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ With the mapping from above, the connection string to connect to our database `G
postgresql://ws1234:[email protected]:5432/Games:main?sslmode=require
```

- The default branch is `main`. If you do not specify a branch name in the connection string, you connect to your `main` branch.
- The connection strings for HTTP access and Postgres wire protocol access are shown to you when you create a new database. You can view this connection string at any time by going to your database's settings page.
- API keys are stored at the user level and can be accessed within [account settings](https://app.xata.io/settings).

Expand Down
Loading