You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
38
docs/en/md/PostgreSQL/Common-methods/Generate-connection-string.mdx
vendored
Normal file
38
docs/en/md/PostgreSQL/Common-methods/Generate-connection-string.mdx
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Generate connection string
|
||||
Forms a connection string from the passed data
|
||||
|
||||
|
||||
|
||||
`Function GenerateConnectionString(Val Address, Val Base, Val Login, Val Password = "", Val Port = "5432") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Address | --addr | String | ✔ | IP address or domain name of the server |
|
||||
| Base | --db | String | ✔ | Name of the database to connect |
|
||||
| Login | --login | String | ✔ | Postgres user login |
|
||||
| Password | --pass | String | ✖ | Postgres user password |
|
||||
| Port | --port | String | ✖ | Connection port |
|
||||
|
||||
|
||||
Returns: String - PostgreSQL database connection string
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user