Package-level declarations
Types
Link copied to clipboard
A single column in a table schema.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class IndexedColumn(val column: String, val ascending: Boolean = true, columnDefinition: Column? = null, var type: ColumnType? = null)
Describes an indexed column.
Link copied to clipboard
Link copied to clipboard
A parameter that can be used in a PendingStatement.
Link copied to clipboard
class RawTable(val name: String, val put: PendingStatement, val delete: PendingStatement) : BaseTable
A table that is managed by the user instead of being auto-created and migrated by the PowerSync SDK.
Link copied to clipboard
data class Table( var name: String, var columns: List<Column>, var indexes: List<Index> = listOf(), val localOnly: Boolean = false, val insertOnly: Boolean = false, viewNameOverride: String? = null, val trackMetadata: Boolean = false, val trackPreviousValues: TrackPreviousValuesOptions? = null, val ignoreEmptyUpdates: Boolean = false) : BaseTable
A single table in the schema.
Link copied to clipboard
data class TrackPreviousValuesOptions(val columnFilter: List<String>? = null, val onlyWhenChanged: Boolean = false)
Options to include old values in CrudEntry.previousValue for update statements.