Table of Contents

Class ClientOptions

Namespace
Supabase.Postgrest
Assembly
Supabase.Postgrest.dll

Options that can be passed to the Client configuration

public class ClientOptions
Inheritance
ClientOptions
Inherited Members

Fields

DATE_TIME_FORMAT

public const string DATE_TIME_FORMAT = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFK"

Field Value

string

DateTimeStyles

public readonly DateTimeStyles DateTimeStyles

Field Value

DateTimeStyles

Properties

Headers

public Dictionary<string, string> Headers { get; set; }

Property Value

Dictionary<string, string>

QueryParams

public Dictionary<string, string> QueryParams { get; set; }

Property Value

Dictionary<string, string>

Schema

public string Schema { get; set; }

Property Value

string

SerializeEnumsAsStrings

When true, enum properties without their own [JsonConverter] attribute are serialized by name (e.g. "OffDisplay") instead of their underlying integer value. Enable this if your enum properties map to native PostgreSQL enum columns. Leave disabled (default) if any of your enum properties map to integer/smallint columns, since enabling this would send a string to a numeric column and PostgREST would reject the request.

public bool SerializeEnumsAsStrings { get; set; }

Property Value

bool