FMPTable

Description

The FMPTable class is used to describe table.

class FMPTable : CustomStringConvertible

Properties

Property Description

name

Table name.
var name: String { get }

resource

Object that describes the resource that contains table.
var resource: FMPResource? { get }

Calculated Properties

Property Description

databaseName

Name of database table.
var databaseName: String { get }

Methods

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

Example

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:

FMPWrapper Framework | Classes