Interface: TableMappings

mapping~TableMappings

Contains a set of methods to represent a row into a document and a document into a row.

Methods

getColumnName(propName) → {String}

Gets the name of the column based on the document property name.

Parameters:
Name Type Description
propName String

The name of the property.

Source:
Returns:
Type
String

getPropertyName(columnName) → {String}

Gets the name of the document property based on the column name.

Parameters:
Name Type Description
columnName String

The name of the column.

Source:
Returns:
Type
String

newObjectInstance() → {Object}

Method that is called by the mapper to create the instance of the document.

Source:
Returns:
Type
Object