Mapping options

Param: asField

path for the result of mapping

Param: foreignKey

foreign key path [only support single value]

Param: primaryKey

primary key path [support single value and array value]

interface MappingOptions {
    asField?: string;
    foreignKey: string;
    primaryKey?: string;
}

Properties

asField?: string
foreignKey: string
primaryKey?: string

Generated using TypeDoc