Module "factory/api/constructors"
Functions
BiotaFunctionName
- BiotaFunctionName(name: string): string
-
Parameters
Returns string
CallFunction
- CallFunction(nameOrDefinition: string | FaunaUDFunctionOptions, context: FactoryContextDefinition, params: FaunaObject): Expr
-
Parameters
-
nameOrDefinition: string | FaunaUDFunctionOptions
-
context: FactoryContextDefinition
-
params: FaunaObject
Returns Expr
ContextExtend
- ContextExtend(context?: FactoryContextDefinition, functionName?: FaunaString, params?: object, extend?: object): FactoryContextDefinition
-
Parameters
-
Default value context: FactoryContextDefinition = {}
-
Default value functionName: FaunaString = null
-
Default value params: object = {}
-
Default value extend: object = {}
Returns FactoryContextDefinition
ContextNoLogNoAnnotation
- ContextNoLogNoAnnotation(context: FactoryContextDefinition): Expr
-
Parameters
-
context: FactoryContextDefinition
Returns Expr
ContextProp
- ContextProp(context: FactoryContextDefinition, path: string): Expr
-
Parameters
-
context: FactoryContextDefinition
-
path: string
Returns Expr
Input
- Input(params: Expr, query: Expr): Expr
Result
- Result(result?: Expr, actionResult?: ActionDispatchResult, context?: Expr): ResultInferface
-
Parameters
-
Default value result: Expr = null
-
Default value actionResult: ActionDispatchResult = {}
-
Default value context: Expr = q.Var('ctx')
Returns ResultInferface
ResultAction
- ResultAction(result: ResultInferface): Expr
ResultData
- ResultData(result: ResultInferface): Expr
UDFunction
- UDFunction(fn: FaunaUDFunctionOptions): FaunaUDFunctionOptions
-
Parameters
-
fn: FaunaUDFunctionOptions
Returns FaunaUDFunctionOptions
UDFunctionFromMethod
- UDFunctionFromMethod(methodRaw: any): FaunaUDFunctionOptions
-
Parameters
Returns FaunaUDFunctionOptions