All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.ferhatwi.supabase.database.request.RangeableQuery.kt Maven / Gradle / Ivy

Go to download

Some experiments on Kotlin client for Supabase Database, currently in development phase.

There is a newer version: 0.4.0
Show newest version
package io.github.ferhatwi.supabase.database.request

private fun  A.range(from: Int, to: Int): A =
    apply { this.range = Pair(from, to) }

open class RangeableQueryR internal constructor(
    schema: String,
    function: String,
    selections: MutableList
) : CountableQueryR(schema, function, selections, null) {
    fun range(from: Int, to: Int) = range(from, to)
}

open class RangeableQuery internal constructor(
    schema: String,
    table: String,
    selections: MutableList
) : CountableQuery(schema, table, selections, null) {

    fun range(from: Int, to: Int) = range(from, to)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy