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()?
optionalvalue: (docFile) =>any
Parameters
docFile
any
Returns
any
entryKey?
optionalentryKey:boolean
identityKey?
optionalidentityKey:boolean