DBResultSetMapping
DBResultSetMapping =
object[]
A DBResultMapping
const mapping = [{
name: "column1",
index: 1,
action: "getString",
}]
Type Declaration
index?
optionalindex:number
Zero based index, that indicating the desired column of the DBResultSet. If no index provided, the array index will be used!
name
name:
string
The name that should appear in the mapped row object.
action
action:
DBResultAction
The DBResultSet function to use. Values are:
- "getBool"
- "getDate"
- "getFloat"
- "getInt"
- "getString"
- "getTimestamp"