Zum Hauptinhalt springen

MappedColumn

MappedColumn = object

Define your mapping between documents files and database table.

Example

const someTableMapping = new TableMapping("someTable", {
someColumn1: {
column: "someColumn1",
type: DBType.string()
}
})

@class TableMapping

Properties

column

column: string


type

type: any


value()?

optional value: (docFile) => any

Parameters

docFile

any

Returns

any


entryKey?

optional entryKey: boolean


identityKey?

optional identityKey: boolean