Package-level declarations

Types

Link copied to clipboard
value class Columns

Represents a list of columns to select

Link copied to clipboard
enum Count : Enum<Count>

Used to obtain an estimated amount of rows in a table. See Postgrest for information about the different count algorithms

Link copied to clipboard
enum Order : Enum<Order>

Used to order the result of a query

Link copied to clipboard
class PostgrestQueryBuilder(val postgrest: Postgrest, val table: String, val schema: String = postgrest.config.defaultSchema)

The main class to build a postgrest request

Link copied to clipboard
open class PostgrestRequestBuilder(propertyConversionMethod: PropertyConversionMethod)

A builder for Postgrest requests.

Link copied to clipboard
class PostgrestUpdate(propertyConversionMethod: PropertyConversionMethod, serializer: SupabaseSerializer)

Represents a postgrest update query

Link copied to clipboard
sealed class Returning

Can be used to specify whether you want e.g. the inserted row to be returned on creation with all its new fields

Functions

Link copied to clipboard
inline fun buildPostgrestUpdate(propertyConversionMethod: PropertyConversionMethod = PropertyConversionMethod.SERIAL_NAME, serializer: SupabaseSerializer, block: PostgrestUpdate.() -> Unit): JsonObject