PostgrestUpdate

class PostgrestUpdate(propertyConversionMethod: PropertyConversionMethod, serializer: SupabaseSerializer)(source)

Represents a postgrest update query

Constructors

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

Functions

Link copied to clipboard
inline operator fun <T> set(column: String, value: T?)
operator fun set(column: String, value: Boolean?)
operator fun set(column: String, value: Double?)
operator fun set(column: String, value: Float?)
operator fun set(column: String, value: Int?)
operator fun set(column: String, value: Long?)
operator fun set(column: String, value: String?)

Sets the value of the column to value

Link copied to clipboard
infix inline fun <T, V> KProperty1<T, V>.setTo(value: V?)
infix fun <T> KProperty1<T, Boolean>.setTo(value: Boolean?)
infix fun <T> KProperty1<T, Double>.setTo(value: Double?)
infix fun <T> KProperty1<T, Float>.setTo(value: Float?)
infix fun <T> KProperty1<T, Int>.setTo(value: Int?)
infix fun <T> KProperty1<T, Long>.setTo(value: Long?)
infix fun <T> KProperty1<T, String>.setTo(value: String?)

Sets the value of the column with the name of the KProperty1 to value

Link copied to clipboard
fun setToNull(column: String)

Sets the value of the column to null