The FMPTable class is used to describe table.
class FMPTable : CustomStringConvertible
Property | Description |
name |
Table name. var name: String { get } |
resource |
Object that describes the resource that contains table. var resource: FMPResource? { get } |
Property | Description |
databaseName |
Name of database table. var databaseName: String { get } |
Method | Description |
copy() | Get instance of the builder class for copying FMPTable. It returns the instance of the FMPTable.Builder class builder. func copy() -> FMPTable.Builder |
Copy FMPTable:
// Build an instance of the FMPTable class. For details see examples for FMPTable.Builder.
let table: FMPTable = fmp.table.build()
// Copy instance of the FMPTable class.
let tableCopy: FMPTable = table.copy().build()
See also: