MemoryTableRelation
open class MemoryTableRelation : Relation, StoredRelation, RelationDefaultChangeObserverImplementation
An in-memory mutable Relation. Conceptually similar to ConcreteRelation, except that
this is a reference type rather than a value type, and so behaves more like we might
expect a table
to. It’s also observable, in case you need that sort of thing.
-
Declaration
Swift
public let scheme: Scheme -
Undocumented
Declaration
Swift
public var values: IndexedSet<Row>! -
Undocumented
Declaration
Swift
open var changeObserverData: RelationDefaultChangeObserverImplementationData -
Declaration
Swift
public var debugName: String? -
Declaration
Swift
open var contentProvider: RelationContentProvider { get } -
Declaration
Swift
open func update(_ query: SelectExpression, newValues: Row) -> Result<Void, RelationError> -
Undocumented
Declaration
Swift
open func delete(_ query: SelectExpression) -> Result<Void, RelationError> -
Undocumented
Declaration
Swift
open func delete(_ row: Row) -
Undocumented
Declaration
Swift
open func copy() -> MemoryTableRelation
MemoryTableRelation Class Reference