@makehq/sdk
    Preparing search index...

    Class DataTableRecords

    Class providing methods for working with records in Make data tables.

    Index

    Constructors

    Methods

    • Delete a single record from a data table.

      Parameters

      • dataTableId: number

        The data table ID containing the record

      • key: string

        The record key to delete

      Returns Promise<void>

      Promise that resolves when the record is deleted

    • Delete multiple records from a data table at once.

      Parameters

      • dataTableId: number

        The data table ID containing the records

      • keys: string[]

        Record keys to delete

      Returns Promise<string[]>

      Promise with the keys of the deleted records

    • Check whether a record exists in a data table.

      Parameters

      • dataTableId: number

        The data table ID to check

      • key: string

        The record key to check

      Returns Promise<boolean>

      Promise with true when the record exists

    • Update specific fields of a record in a data table. Only updates the specified fields, preserving others.

      Parameters

      • dataTableId: number

        The data table ID containing the record

      • key: string

        The record key to update

      • data: Record<string, JSONValue>

        The record fields to update

      Returns Promise<DataTableRecord>

      Promise with the updated record