prorm API Reference
    Preparing search index...

    Function buildCreateFullTextIndexSQL

    • Builds the engine's full-text index statement — a GIN index over a tsvector on PostgreSQL, FULLTEXT on MySQL, an FTS5 virtual table on SQLite.

      Parameters

      • options: FullTextIndexOptions
      • dialect: string
      • quoteId: (id: string) => string
      • quoteTable: (t: string) => string

      Returns string