most-data/functions

Classes

FunctionContext

Methods

(static) createContext(context, model, targetopt)

Creates a new instance of FunctionContext class
Parameters:
Name Type Attributes Description
context DataContext | *
model DataModel | *
target * <optional>
Source:
Returns:
FunctionContext

(static) newid(e, callback)

Gets new identity key for a primary key column
Parameters:
Name Type Description
e FunctionContext
callback function
Source:

(static) now(e, callback)

Gets the current date and time
Parameters:
Name Type Description
e FunctionContext The current function context
callback function The callback function to be called
Source:

(static) today(e, callback)

Gets the current date
Parameters:
Name Type Description
e FunctionContext
callback function
Source:

(static) user(e, callback)

Gets the current user
Parameters:
Name Type Description
e FunctionContext The current function context
callback function The callback function to be called
Source: