Skip to content

Commit

Permalink
add note about default branch name in postgresql conenction string
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch committed Jul 4, 2024
1 parent e49d921 commit 946e84a
Showing 1 changed file with 1 addition and 0 deletions.
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:xau_apikey123456@us-east-1.sql.xata.sh: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

0 comments on commit 946e84a

Please sign in to comment.