by mandeepj · 4y ago · 0 comments
import { connect } from '@planetscale/database'
const config = { host: '<host>', username: '<user>', password: '<password>' }
The idea is these runtimes typically only allow HTTP outbound requests, not whatever protocol is typically used to connect to a planetscale db.