@makehq/sdk
    Preparing search index...

    Class DataStores

    Class providing methods for working with Make data stores. Data stores allow storing and managing data within Make for use across scenarios. They function as simple databases for storing information between scenario runs.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    Access to methods for working with records within data stores

    Methods

    • Delete a data store.

      Parameters

      • dataStoreId: number

        The data store ID to delete

      Returns Promise<void>

      Promise that resolves when the data store is deleted

    • Get data store details by ID.

      Type Parameters

      Parameters

      • dataStoreId: number

        The data store ID to retrieve

      • Optionaloptions: GetDataStoreOptions<C>

      Returns Promise<
          PickColumns<
              DataStore,
              C,
              "name"
              | "id"
              | "teamId"
              | "records"
              | "size"
              | "maxSize",
          >,
      >

      Promise with the data store details

    • List all data stores for a team.

      Type Parameters

      Parameters

      • teamId: number

        The team ID to filter data stores by

      • Optionaloptions: ListDataStoresOptions<C>

        Optional parameters for filtering and pagination

      Returns Promise<
          PickColumns<
              DataStore,
              C,
              "name"
              | "id"
              | "teamId"
              | "records"
              | "size"
              | "maxSize",
          >[],
      >

      Promise with the list of data stores