Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "factory/api/constructors"

Index

Functions

BiotaFunctionName

  • BiotaFunctionName(name: string): string

CallFunction

  • CallFunction(nameOrDefinition: string | FaunaUDFunctionOptions, context: FactoryContextDefinition, params: FaunaObject): 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

ContextProp

  • ContextProp(context: FactoryContextDefinition, path: string): 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

UDFunctionFromMethod

  • UDFunctionFromMethod(methodRaw: any): FaunaUDFunctionOptions

Generated using TypeDoc