Class GraphQueryConditions

The GraphQueryConditions class is used to apply access control permissions to a gremlin query

Hierarchy

  • GraphQueryConditions

Constructors

Methods

  • Handle specific function name for rule.

    Parameters

    • function_name: string

      The name of the function in/out/has/HasId

    • rule: any

      The rule object undefined if its not yet set

    • label: any

      The label of the rule item

    • Optional properties: any

      Any properties to filter by

    • Optional subrules: any

      The sub rules

    Returns any

  • This function is used to expand an arrya of properties into there corresponding has functions, and in the case of label and id will convert them to hasLabel and hasId

    Parameters

    • rule: any

      The rule object undefined if its not yet set

    • properties: string[]

      Array of name name value properties.

    Returns any

Generated using TypeDoc