Connection string
A connection string looks like follows: alias=schema://user:password@url[database]
, where:
- alias is a database alias, a unique string used to refer the database
- schema is a connection schema. Currently supported is tcp and socket
- user is a database user name
- password is the users's password
- url for tcp is in form host:port, for unix socket - file path
- database is a database name
- See Also
- tip::db::pg::db_service
-
tip::db::pg::connection_options
Database alias
A short unique string that can be used to refer a database. It is passed as a part of a connection string when registering a connection and is used later to retrieve a connection to a database via the tip::db::pg::db_service interface or the tip::db::pg::query interface.
- See Also
- tip::db::pg::dbalias
-
tip::db::pg::db_service
-
tip::db::pg::query