Table
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)
A single table in the schema.
Properties
Link copied to clipboard
Whether an UPDATE
statement that doesn't change any values should be ignored when creating CRUD entries.
Link copied to clipboard
Whether this is an insert-only table.
Link copied to clipboard
Whether to add a hidden _metadata
column that will be enabled for updates to attach custom information about writes that will be reported through CrudEntry.metadata.
Link copied to clipboard
When set to a non-null value, track old values of columns for CrudEntry.previousValue.