Normal tables now can be immutable
This commit is contained in:
parent
aec144d37c
commit
7ca7f9878e
@ -27,7 +27,7 @@ public interface CreateModuleScope {
|
||||
* @param initializer Table-related descriptors initializer.
|
||||
* @return Table descriptor.
|
||||
*/
|
||||
public fun <tUE : Any> createTable(namespace: Namespace = this.rootNs, name: String, initializer: TableConstructor<tUE>): Table<tUE, Nothing>
|
||||
public fun <tUE : Any> createTable(namespace: Namespace = this.rootNs, name: String, initializer: TableConstructor<tUE>, mutable: Boolean = true): Table<tUE, Nothing>
|
||||
|
||||
/**
|
||||
* Creates a temporary table that exits only until connection to the database not [closed][SynchronizedDatabase._close].
|
||||
|
@ -15,6 +15,7 @@ public interface Table<UserExtension : Any, PreviousUserExtension : Any> : _Sele
|
||||
|
||||
public val temporaryType: TemporaryType?
|
||||
|
||||
// todo make nullable for temp tables
|
||||
public val namespacesFromModuleRoot: List<String>
|
||||
|
||||
public val isMutable: Boolean
|
||||
}
|
Loading…
Reference in New Issue
Block a user