Constructor
new SqlParameter(paramValue, paramName, varName, sqlType, forOutput)
Parameters:
Name | Type | Description |
---|---|---|
paramValue |
object | |
paramName |
string | |
varName |
string | |
sqlType |
string | |
forOutput |
boolean |
- Source:
Members
name :string|undefined
Optional parameter name, anyway there is no named param columns in mySql so it has no real meaning,
but it is used as a default to colName (see below)
Type:
- string | undefined
- Source:
out :boolean|undefined
Output flag , true when it is output parameter
Type:
- boolean | undefined
- Source:
sqltype :string|undefined
Sql type declaration for output parameters
Type:
- string | undefined
- Source:
value :Object|undefined
Parameter value
Type:
- Object | undefined
- Source:
varName :string|undefined
Optional name for the variable that will store the result, in case of output variables. When not present, it is assumed to
be equal to paramName.
Type:
- string | undefined
- Source: