Iskra API Reference
    Preparing search index...

    Function search

    • Rows where any of columns contains term, ignoring case: upper(col) like upper('%term%') escape '\'. The term is a bind, and its % and _ match themselves. An empty term leaves the query as it is.

      Type Parameters

      • DB
      • TB extends string | number | symbol
      • O

      Parameters

      • query: SelectQueryBuilder<DB, TB, O>
      • columns: readonly StringReference<DB, TB>[]
      • term: string | null | undefined

      Returns SelectQueryBuilder<DB, TB, O>