From df648bca4f79bfae3c49a8610429d366efb842df Mon Sep 17 00:00:00 2001 From: Giacomo Cavalieri Date: Fri, 4 Jul 2025 19:13:22 +0200 Subject: [PATCH] update docs --- src/squirrel.gleam | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/squirrel.gleam b/src/squirrel.gleam index b9ff6ec..3a73836 100644 --- a/src/squirrel.gleam +++ b/src/squirrel.gleam @@ -45,7 +45,7 @@ const squirrel_version = "v3.1.0" /// > be a valid connection string with the following format: /// > /// > ```txt -/// > postgres://user:password@host:port/database +/// > postgres://user:password@host:port/database?connect_timeout=seconds /// > ``` /// > /// > If a `DATABASE_URL` variable is not set, Squirrel will instead read your @@ -56,10 +56,11 @@ const squirrel_version = "v3.1.0" /// > - `PGUSER`: `"postgres"` /// > - `PGDATABASE`: the name of your Gleam project /// > - `PGPASSWORD`: `""` +/// > - `PGCONNECT_TIMEOUT`: `5` seconds /// /// > ⚠️ The generated code relies on the -/// > [`pog`](https://hexdocs.pm/pog/) package to work, so make sure to -/// > add that dependency to your project. +/// > [`pog`](https://hexdocs.pm/pog/) package to work, so make sure to add +/// > that dependency to your project. /// pub fn main() { case parse_cli_args(), connection_options() { -- 2.51.2