Skip to content

Commit cfa189d

Browse files
committed
nit
1 parent 0628f46 commit cfa189d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dbos/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import (
1414
)
1515

1616
type ClientConfig struct {
17-
DatabaseURL string // Connection URL for the PostgreSQL database
17+
DatabaseURL string // DatabaseURL is a PostgreSQL connection string. Either this or SystemDBPool is required.
18+
SystemDBPool *pgxpool.Pool // SystemDBPool is a custom System Database Pool. It's optional and takes precedence over DatabaseURL if both are provided.
1819
DatabaseSchema string // Database schema name (defaults to "dbos")
1920
Logger *slog.Logger // Optional custom logger
20-
SystemDBPool *pgxpool.Pool // Optional existing connection pool for the system database
2121
}
2222

2323
// Client provides a programmatic way to interact with your DBOS application from external code.

0 commit comments

Comments
 (0)