Story Maker
    Preparing search index...

    Function insertUser

    • Inserts a new user into the database.

      Parameters

      • supabase: string

        The Supabase ID of the user.

      • name: string

        The name of the user.

      Returns Promise<InsertOneResult<Document>>

      A promise that resolves to the result of the insert operation.

      If the database insert operation fails.