You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,24 @@ function inflate(field, value) {
102
102
}
103
103
```
104
104
105
+
#### Experimental: `useSharedConnection`
106
+
107
+
As of version 1.3.0, `PlanetScaleDialect` supports using a shared `@planetscale/database` connection for all non-transaction queries, to improve query performance. This option is not enabled by default, but can be enabled by setting the `useSharedConnection` option to `true`. Transaction queries will always run using their own connection.
108
+
109
+
This is an experimental feature, and may be removed in a future version.
0 commit comments