@earth-app/collegedb
    Preparing search index...

    Function prepare

    • Prepares a SQL statement for execution.

      Parameters

      • key: string

        The primary key to route the query

      • sql: string

        The SQL statement to prepare

      Returns Promise<D1PreparedStatement>

      Promise that resolves to a prepared statement

      If preparation fails