Constructor
new FunctionContext(context, model, targetopt)
Parameters:
Name |
Type |
Attributes |
Description |
context |
DataContext
|
*
|
|
|
model |
DataModel
|
*
|
|
|
target |
*
|
<optional>
|
|
- Source:
Members
Type:
- Source:
model :DataModel
Type:
- Source:
target :*
Type:
- Source:
Methods
chars(length) → {Promise.<T>|*}
Parameters:
Name |
Type |
Description |
length |
number
|
|
- Source:
Returns:
-
Type
-
Promise.<T>
|
*
int(min, max) → {Promise.<T>|*}
Generates a random integer value between the given minimum and maximum value
Parameters:
Name |
Type |
Description |
min |
number
|
|
max |
number
|
|
- Source:
Returns:
-
Type
-
Promise.<T>
|
*
me() → {Promise.<T>|*}
- Source:
Returns:
-
Type
-
Promise.<T>
|
*
newGuid() → {Promise.<T>|*}
- Source:
Returns:
-
Type
-
Promise.<T>
|
*
newid() → {Promise.<T>|*}
- Source:
Returns:
-
Type
-
Promise.<T>
|
*
now() → {Promise.<T>|*}
- Source:
Returns:
-
Type
-
Promise.<T>
|
*
password(length) → {Promise.<T>|*}
Parameters:
Name |
Type |
Description |
length |
number
|
|
- Source:
Returns:
-
Type
-
Promise.<T>
|
*
today() → {Promise.<T>|*}
- Source:
Returns:
-
Type
-
Promise.<T>
|
*
user() → {Promise.<T>|*}
- Source:
Returns:
-
Type
-
Promise.<T>
|
*