interface
SQL.PostgresOrMySQLOptions
interface PostgresOrMySQLOptions
- allowPublicKeyRetrieval?: boolean
MySQL only. Allow the client to request the server's RSA public key during
caching_sha2_password/sha256_passwordauthentication when the connection is not protected by TLS. Disabled by default because a network attacker can substitute their own key and recover the plaintext password. Enable only for trusted local connections, or use TLS instead. - bigint?: boolean
Return values outside the i32 range as
BigInt. By default they are returned as strings. - tls?: boolean | BunFile | 'require' | TLSOptions | 'disable' | 'allow' | 'prefer' | 'verify-ca' | 'verify-full'
Whether to use TLS/SSL for the connection. A string selects the SSL mode (
"disable","allow","prefer","require","verify-ca","verify-full").