WayrApp Backend & Ecosystem Documentation - v1.0.0
    Preparing search index...
    • Build a full-text search filter for Prisma queries

      Parameters

      • OptionalsearchTerm: string

        The search term to look for

      • fields: string[] = []

        Array of fields to search in

      • exactMatch: boolean = false

        Whether to match the exact phrase or individual terms

      Returns any

      Prisma filter object