Methods
- - - - - - - -(static) execute(query, paramsopt)
- - - - - - -Parameters:
- - -Name | - - -Type | - - -Attributes | - - - - -Description | -
---|---|---|---|
query |
-
-
- - - -string - - - - | - - -- - - - - - | - - - - -SQL query with ? used as parameter placeholder | -
params |
-
-
- - - -Array.<object> - - - - | - - -
-
- <optional> - - - - - - |
-
-
-
-
- array of params if needed | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source: -
- - services/sql.js, line 352 -
-
-
-
-
-
-
-
-
(static) getColumn(query, paramsopt) → {Array.<object>}
- - - - - - -Parameters:
- - -Name | - - -Type | - - -Attributes | - - - - -Description | -
---|---|---|---|
query |
-
-
- - - -string - - - - | - - -- - - - - - | - - - - -SQL query with ? used as parameter placeholder | -
params |
-
-
- - - -Array.<object> - - - - | - - -
-
- <optional> - - - - - - |
-
-
-
-
- array of params if needed | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source: -
- - services/sql.js, line 343 -
-
-
-
-
-
-
-
-
Returns:
- - --
-
- - Type - -
- - -Array.<object> - - - -
(static) getMap(query, paramsopt) → {object}
- - - - - - -Parameters:
- - -Name | - - -Type | - - -Attributes | - - - - -Description | -
---|---|---|---|
query |
-
-
- - - -string - - - - | - - -- - - - - - | - - - - -SQL query with ? used as parameter placeholder | -
params |
-
-
- - - -Array.<object> - - - - | - - -
-
- <optional> - - - - - - |
-
-
-
-
- array of params if needed | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source: -
- - services/sql.js, line 333 -
-
-
-
-
-
-
-
-
Returns:
- - --
-
- - Type - -
- - -object - - - -
(static) getRow(query, paramsopt) → {object}
- - - - - - -Parameters:
- - -Name | - - -Type | - - -Attributes | - - - - -Description | -
---|---|---|---|
query |
-
-
- - - -string - - - - | - - -- - - - - - | - - - - -SQL query with ? used as parameter placeholder | -
params |
-
-
- - - -Array.<object> - - - - | - - -
-
- <optional> - - - - - - |
-
-
-
-
- array of params if needed | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source: -
- - services/sql.js, line 309 -
-
-
-
-
-
-
-
-
Returns:
- - --
-
- - Type - -
- - -object - - - -
(static) getRows(query, paramsopt) → {Array.<object>}
- - - - - - -Parameters:
- - -Name | - - -Type | - - -Attributes | - - - - -Description | -
---|---|---|---|
query |
-
-
- - - -string - - - - | - - -- - - - - - | - - - - -SQL query with ? used as parameter placeholder | -
params |
-
-
- - - -Array.<object> - - - - | - - -
-
- <optional> - - - - - - |
-
-
-
-
- array of params if needed | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source: -
- - services/sql.js, line 320 -
-
-
-
-
-
-
-
-
Returns:
- - --
-
- - Type - -
- - -Array.<object> - - - -
(static) getValue(query, paramsopt)
- - - - - - -Parameters:
- - -Name | - - -Type | - - -Attributes | - - - - -Description | -
---|---|---|---|
query |
-
-
- - - -string - - - - | - - -- - - - - - | - - - - -SQL query with ? used as parameter placeholder | -
params |
-
-
- - - -Array.<object> - - - - | - - -
-
- <optional> - - - - - - |
-
-
-
-
- array of params if needed | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source: -
- - services/sql.js, line 299 -
-
-
-
-
-
-
-
-