Skip to content

Commit a79ef20

Browse files
committed
update
1 parent 9e9efd9 commit a79ef20

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

articles/service-connector/includes/code-neon-postgres-secret.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ ms.author: wchi
88

99
### [.NET](#tab/dotnet)
1010

11-
1. Install dependencies. Follow the guidance to [install Npgsql](https://www.npgsql.org/doc/installation.html)
12-
1. In code, get the PostgreSQL connection string from environment variables added by Service Connector service.
11+
1. Install dependencies following [the Npgsql guidance](https://www.npgsql.org/doc/installation.html)
12+
1. In code, get the PostgreSQL connection string from environment variables added by Service Connector.
1313
```csharp
1414
using System;
1515
using Npgsql;
@@ -23,8 +23,8 @@ ms.author: wchi
2323

2424
### [Java](#tab/java)
2525

26-
1. Install dependencies. Follow the guidance to [install pgJDBC](https://jdbc.postgresql.org/documentation/).
27-
1. In code, get the PostgreSQL connection string from environment variables added by Service Connector service.
26+
1. Install dependencies following [the pgJDBC guidance](https://jdbc.postgresql.org/documentation/).
27+
1. In code, get the PostgreSQL connection string from environment variables added by Service Connector.
2828
```java
2929
import java.sql.Connection;
3030
import java.sql.DriverManager;
@@ -64,8 +64,8 @@ ms.author: wchi
6464

6565
### [Python](#tab/python)
6666

67-
1. Install dependencies. Follow the guidance to [install psycopg2](https://pypi.org/project/psycopg2/).
68-
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector service.
67+
1. Install dependencies following [the psycopg2 guidance](https://pypi.org/project/psycopg2/).
68+
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector.
6969
```python
7070
import os
7171
import psycopg2
@@ -79,12 +79,12 @@ ms.author: wchi
7979

8080
### [Django](#tab/django)
8181

82-
1. Install dependencies. Follow the guidance to [install Django](https://docs.djangoproject.com/en/4.2/topics/install/) and [psycopg2](https://pypi.org/project/psycopg2/).
82+
1. Install dependencies following [the Django guidance](https://docs.djangoproject.com/en/4.2/topics/install/) and [psycopg2 guidance](https://pypi.org/project/psycopg2/).
8383
```bash
8484
pip install django
8585
pip install psycopg2
8686
```
87-
1. In setting file, get the PostgreSQL database information from environment variables added by Service Connector service.
87+
1. In the setting file, get the PostgreSQL database information from environment variables added by Service Connector.
8888
```python
8989
# in your setting file, eg. settings.py
9090
host = os.getenv('NEON_POSTGRESQL_HOST')
@@ -111,7 +111,7 @@ ms.author: wchi
111111
```bash
112112
go get github.com/lib/pq
113113
```
114-
1. In code, get the PostgreSQL connection string from environment variables added by Service Connector service.
114+
1. In code, get the PostgreSQL connection string from environment variables added by Service Connector.
115115
```go
116116
import (
117117
"database/sql"
@@ -136,7 +136,7 @@ ms.author: wchi
136136
```bash
137137
npm install pg dotenv
138138
```
139-
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector service.
139+
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector.
140140
```javascript
141141
const { Client } = require('pg');
142142

@@ -157,7 +157,7 @@ ms.author: wchi
157157

158158
### [PHP](#tab/php)
159159

160-
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector service.
160+
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector.
161161
```php
162162
<?php
163163
$conn_string = getenv('NEON_POSTGRESQL_CONNECTIONSTRING');
@@ -171,7 +171,7 @@ ms.author: wchi
171171
```bash
172172
gem install pg
173173
```
174-
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector service.
174+
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector.
175175
```ruby
176176
require 'pg'
177177
require 'dotenv/load'

articles/service-connector/includes/code-postgres-secret.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ ms.author: wchi
88

99
### [.NET](#tab/dotnet)
1010

11-
1. Install dependencies. Follow the guidance to [install Npgsql](https://www.npgsql.org/doc/installation.html)
12-
1. In code, get the PostgreSQL connection string from environment variables added by Service Connector service.
11+
1. Install dependencies following [the Npgsql guidance](https://www.npgsql.org/doc/installation.html)
12+
1. In code, get the PostgreSQL connection string from environment variables added by Service Connector.
1313
```csharp
1414
using System;
1515
using Npgsql;
@@ -23,8 +23,8 @@ ms.author: wchi
2323

2424
### [Java](#tab/java)
2525

26-
1. Install dependencies. Follow the guidance to [install pgJDBC](https://jdbc.postgresql.org/documentation/).
27-
1. In code, get the PostgreSQL connection string from environment variables added by Service Connector service.
26+
1. Install dependencies following [the pgJDBC guidance](https://jdbc.postgresql.org/documentation/).
27+
1. In code, get the PostgreSQL connection string from environment variables added by Service Connector.
2828
```java
2929
import java.sql.Connection;
3030
import java.sql.DriverManager;
@@ -64,8 +64,8 @@ ms.author: wchi
6464

6565
### [Python](#tab/python)
6666

67-
1. Install dependencies. Follow the guidance to [install psycopg2](https://pypi.org/project/psycopg2/).
68-
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector service.
67+
1. Install dependencies following [the psycopg2 guidance](https://pypi.org/project/psycopg2/).
68+
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector.
6969
```python
7070
import os
7171
import psycopg2
@@ -79,12 +79,12 @@ ms.author: wchi
7979

8080
### [Django](#tab/django)
8181

82-
1. Install dependencies. Follow the guidance to [install Django](https://docs.djangoproject.com/en/4.2/topics/install/) and [psycopg2](https://pypi.org/project/psycopg2/).
82+
1. Install dependencies following [the Django guidance](https://docs.djangoproject.com/en/4.2/topics/install/) and [psycopg2 guidance](https://pypi.org/project/psycopg2/).
8383
```bash
8484
pip install django
8585
pip install psycopg2
8686
```
87-
1. In setting file, get the PostgreSQL database information from environment variables added by Service Connector service.
87+
1. In the setting file, get the PostgreSQL database information from environment variables added by Service Connector.
8888
```python
8989
# in your setting file, eg. settings.py
9090
host = os.getenv('AZURE_POSTGRESQL_HOST')
@@ -111,7 +111,7 @@ ms.author: wchi
111111
```bash
112112
go get github.com/lib/pq
113113
```
114-
1. In code, get the PostgreSQL connection string from environment variables added by Service Connector service.
114+
1. In code, get the PostgreSQL connection string from environment variables added by Service Connector.
115115
```go
116116
import (
117117
"database/sql"
@@ -136,7 +136,7 @@ ms.author: wchi
136136
```bash
137137
npm install pg dotenv
138138
```
139-
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector service.
139+
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector.
140140
```javascript
141141
const { Client } = require('pg');
142142

@@ -157,7 +157,7 @@ ms.author: wchi
157157

158158
### [PHP](#tab/php)
159159

160-
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector service.
160+
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector.
161161
```php
162162
<?php
163163
$conn_string = getenv('AZURE_POSTGRESQL_CONNECTIONSTRING');
@@ -171,7 +171,7 @@ ms.author: wchi
171171
```bash
172172
gem install pg
173173
```
174-
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector service.
174+
1. In code, get the PostgreSQL connection information from environment variables added by Service Connector.
175175
```ruby
176176
require 'pg'
177177
require 'dotenv/load'

0 commit comments

Comments
 (0)