Skip to content

Instance Method

sql(encodingContext:decodingContext:queryLogLevel:)

func sql(encodingContext: PostgresEncodingContext<some PostgresJSONEncoder>, decodingContext: PostgresDecodingContext<some PostgresJSONDecoder>, queryLogLevel: Logger.Level? = .debug) -> some SQLDatabase