Config
data class Config(var defaultSchema: String = "public", var propertyConversionMethod: PropertyConversionMethod = PropertyConversionMethod.CAMEL_CASE_TO_SNAKE_CASE, var requireValidSession: Boolean = false, var urlLengthLimit: Int = 8000, var timeout: Duration = 30.seconds) : MainConfig, CustomSerializationConfig, AuthDependentPluginConfig(source)
Config for the Postgrest plugin
Parameters
timeout
Optional timeout for all requests. When set, requests will automatically abort after this duration to prevent indefinite hangs.
urlLengthLimit
Maximum URL length in characters before warnings/errors are triggered. Defaults to 8000.
defaultSchema
The default schema to use for the requests. Defaults to "public"
propertyConversionMethod
The method to use to convert the property names to the column names in PostgrestRequestBuilder and PostgrestUpdate. Defaults to PropertyConversionMethod.CAMEL_CASE_TO_SNAKE_CASE