Methods
(static) formatHeader(tabl, alias) → {object}
Format a query request object, including all information for construct a "select" statement.
Parameters:
Name | Type | Description |
---|---|---|
tabl |
string | from table |
alias |
string |
- Source:
Returns:
fromatter to build request object
static formatQueryReq (tbl, alias) {
return new QueryReq(this, tbl, alias);
}
- Type
- object
(static) formatSessionLogin(uid, tk64, iv64)
Format login request message.
Parameters:
Name | Type | Description |
---|---|---|
uid |
string | |
tk64 |
string | |
iv64 |
string |
- Source:
Returns:
login request message
(static) nvs2cols() → {Array}
convert [{name, value}, ...] to [n1, n2, ...]
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
n-v, ... |
Array |
<optional> |
- Source:
Returns:
[n1, n2, ...]
- Type
- Array
(static) nvs2rows(2d) → {Array}
convert [[{name, value}]] to [[[name, value]]]
Parameters:
Name | Type | Description |
---|---|---|
2d |
Array | array of n-v pairs |
- Source:
Returns:
3d array that can be used by server as nv rows
- Type
- Array