File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,7 @@ PGAdapter can be used with the following drivers and clients:
992 . ` JDBC ` : Versions 42.x and higher are supported. See [ JDBC support] ( docs/jdbc.md ) for more details.
10103 . ` pgx ` : Version 4.15 and higher are supported. See [ pgx support] ( docs/pgx.md ) for more details.
11114 . ` psycopg2 ` : Version 2.9.3 and higher (but not ` psycopg3 ` ) are supported. See [ psycopg2] ( docs/psycopg2.md ) for more details.
12- 5 . ` node-postgres ` : Version 8.8.0 and higher have __ experimental support__ .
13- See [ node-postgres support] ( docs/node-postgres.md ) for more details.
12+ 5 . ` node-postgres ` : Version 8.8.0 and higher are supported. See [ node-postgres support] ( docs/node-postgres.md ) for more details.
1413
1514## Frameworks
1615PGAdapter can be used with the following frameworks:
Original file line number Diff line number Diff line change 1- # Google Cloud Spanner PGAdapter - node-postgres Experimental Support
1+ # PGAdapter - node-postgres Connection Options
22
3- PGAdapter has __ experimental support__ for the [ node-postgres driver] ( https://node-postgres.com/ )
4- version 8.8.0 and higher.
3+ PGAdapter supports the [ node-postgres driver] ( https://node-postgres.com/ ) version 8.8.0 and higher.
54
65## Usage
76
@@ -116,3 +115,8 @@ console.log(res);
116115```
117116
118117## Limitations
118+ - ` node-postgres ` always uses untyped query parameters encoded as strings. Cloud Spanner requires
119+ query parameters to be typed. PGAdapter therefore infers the types of the query parameters the
120+ first time it sees a given SQL string by analyzing the SQL statement and caching the result on the
121+ connection. This means that the first execution of a SQL statement with query parameters on a
122+ connection will be slightly slower than the following executions.
You can’t perform that action at this time.
0 commit comments