MultiSelect
public final class MultiSelect: Selectable
Chain call for multi-selecting
-
The tag of the related database.
Declaration
Swift
public var tag: Tag?
-
The path of the related database.
Declaration
Swift
public var path: String
-
Get next selected object. You can do an iteration using it.
while let multiObject = try self.nextMultiObject() { let object1 = multiObject[tableName1] let object2 = multiObject[tableName2] //... }
Throws
Error
Declaration
Swift
public func nextMultiObject() throws -> [String: TableDecodableBase]?
Return Value
Mapping from table name to object. Nil means the end of iteration.
-
Get all selected objects.
Throws
Error
Declaration
Swift
public func allMultiObjects() throws -> [[String: TableDecodableBase]]
Return Value
Array contained mapping from table name to object.