Function matchTsquery

  • Generate SQL query for matching words with tsquery.

    Parameters

    • table: string

      table name

    • words: string[]

      match words

    • tsv: string = '"tsvector"'

      tsvector column name ["tsvector"]

    • opt: MatchTsqueryOptions = {}

      options {columns, order, limit, normalization}

    Returns string

    SQL query for matching words with tsquery

Generated using TypeDoc