From 07985c6f85a5fd0b756f39bd193f91ab994578f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Thu, 4 Jul 2024 11:05:58 +0200 Subject: [PATCH] add note about default branch name in postgresql conenction string --- 020-Connect/010-Postgres/001-direct-access.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/020-Connect/010-Postgres/001-direct-access.mdx b/020-Connect/010-Postgres/001-direct-access.mdx index 0c0f5bef..7b8e807c 100644 --- a/020-Connect/010-Postgres/001-direct-access.mdx +++ b/020-Connect/010-Postgres/001-direct-access.mdx @@ -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).