MysqlClient
Compiler
makeCompiler
Added in v1.0.0
Source
Signature
declare function makeCompiler(transform?: (_: string) => string): anyConstructors
Layers
Signature
declare function layer(config: MysqlClientConfig): Layer<any, any>layerConfig
Added in v1.0.0
Source
Signature
declare function layerConfig(config: Wrap<MysqlClientConfig>): Layer<any, any>Models
MysqlClient interface
Added in v1.0.0
Source
Signature
interface MysqlClient extends unknown { readonly [TypeId]: typeof TypeId; readonly config: MysqlClientConfig;}MysqlClientConfig interface
Added in v1.0.0
Source
Signature
interface MysqlClientConfig { readonly connectionTTL?: any; readonly database?: string; readonly host?: string; readonly maxConnections?: number; readonly password?: Redacted<string>; readonly poolConfig?: any; readonly port?: number; readonly spanAttributes?: Record<string, unknown>; readonly transformQueryNames?: (str: string) => string; readonly transformResultNames?: (str: string) => string; readonly url?: Redacted<string>; readonly username?: string;}