Add first class support for USE and SET statements.
Why
We want to make it easier to correctly use PlanetScale over HTTP supporting some of more exotic features (boost, replicas, sharding)
How
You can define which database to use, or which variables to set as part of Config. This means you can pass this onto: connect(), Client#new, Client#connection, Connection#new and Connection#execute().
What
Add first class support for
USE
andSET
statements.Why
We want to make it easier to correctly use PlanetScale over HTTP supporting some of more exotic features (boost, replicas, sharding)
How
You can define which database to use, or which variables to set as part of
Config
. This means you can pass this onto:connect()
,Client#new
,Client#connection
,Connection#new
andConnection#execute()
.Config defaults and overrides