OINO TS
    Preparing search index...

    Class OINODbQueryFilter

    Class for recursively parsing of filters and printing them as SQL conditions. Supports three types of statements

    • comparison: (field)-lt|le|eq|ge|gt|like(value)
    • negation: -not(filter)
    • conjunction/disjunction: (filter)-and|or(filter) Supported conditions are comparisons (<, <=, =, >=, >) and substring match (LIKE).

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    leftSide: string | OINOQueryFilter
    rightSide: string | OINOQueryFilter

    Methods

    • Build filter as SQL condition based on the datamodel of the API, appending any values to the given statement.

      Column names are validated against the datamodel and values are added to statement (bound as parameters, or inlined as escaped literals when the statement is in legacy mode).

      Parameters

      Returns string

    • Constructor for OINOQueryFilter as parser of http parameter.

      Supports three types of statements:

      • comparison: (field)-lt|le|eq|ge|gt|like(value)
      • negation: -not(filter)
      • conjunction/disjunction: (filter)-and|or(filter)
      • null check: -isnull(field) or -isNotNull(field)

      Parameters

      • filterString: string

        string representation of filter from HTTP-request

      Returns OINOQueryFilter