Table
public struct Table
extension Table: Codable
extension Table: Hashable
extension Table: JSONDecodable
extension Table: DictionaryConvertible
extension Table: Equatable
Table structure for stored data.
-
Undocumented
Declaration
Swift
public var name: String -
Undocumented
Declaration
Swift
public var className: String? -
Undocumented
Declaration
Swift
public var collectionName: String? -
Undocumented
Declaration
Swift
public var scope: String? -
Undocumented
Declaration
Swift
public var dataURI: String? -
The table attributes
Declaration
Swift
public var attributes: [String : Attribute] -
The table attributes applying formatter to name
Declaration
Swift
public var attributesBySafeName: [String : Attribute] -
Return the keys.
Declaration
Swift
public var keys: [String : Key] -
Return available table server method.
Declaration
Swift
public var methods: [TableMethod] -
Create an instance of table by its name.
Declaration
Swift
public init(name: String)
-
A parser for specific table
Declaration
Swift
public var parser: ImportableParser { get }
-
Undocumented
Declaration
Swift
public func predicate(for importable: RecordImportable, with mapper: AttributeValueMapper = .default) -> NSPredicate? -
Create a predicate from this table keys to match passed data
Declaration
Swift
public func predicate(for value: Any) -> NSPredicate? -
Create a predicate from this table keys to match passed data
Declaration
Swift
public func predicate(for json: JSON) -> NSPredicate? -
Undocumented
Declaration
Swift
public func predicate(forDeletedRecord deletedRecord: DeletedRecord) -> NSPredicate
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
Undocumented
Declaration
Swift
public init?(json: JSON) -
Return all tables from api JSON info.
Declaration
Swift
public static func all(json: JSON) -> [Table] -
Return all tables from api JSON info.
Declaration
Swift
public static func array(json: JSON) -> [Table]? -
Filter attributes according to type.
Declaration
Swift
public func attributes(of type: AttributeStorageType) -> [Attribute]
-
Declaration
Swift
public var dictionary: DictionaryConvertible.Dico { get }
-
Declaration
Swift
public static func == (lhf: Table, rhf: Table) -> Bool
Table Structure Reference