Skip to content

Latest commit

 

History

History
 
 

Postgrest

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Supabase-kt Postgrest

Extends Supabase-kt with a multiplatform Postgrest client.

Newest version: Maven Central

Installation

dependencies {
    implementation("io.github.jan-tennert.supabase:postgrest-kt:VERSION")
}

Install plugin in main SupabaseClient. See the documentation for more information

val client = createSupabaseClient(
    supabaseUrl = "https://id.supabase.co",
    supabaseKey = "apikey"
) {
    
    //...
    
    install(Postgrest) {
        // settings
    }
    
}

or create standalone module

val postgrest = standaloneSupabaseModule(Postgrest, url = "https://your.postgrest.url.com", apiKey = "your-api-key")

Usage

See Postgrest documentation for usage