Setu-TS
    Preparing search index...

    Interface ICosmosItem

    A structural subset of the SDK Item handle — one document addressed by its id and partition key.

    0.2.0

    interface ICosmosItem {
        delete(
            options?: CosmosRequestOptions,
        ): Promise<CosmosItemResponse<Record<string, unknown>>>;
        patch(
            operations: readonly CosmosPatchOperation[],
        ): Promise<CosmosItemResponse<Record<string, unknown>>>;
        read(): Promise<CosmosItemResponse<Record<string, unknown>>>;
        replace(
            body: Record<string, unknown>,
            options?: CosmosRequestOptions,
        ): Promise<CosmosItemResponse<Record<string, unknown>>>;
    }
    Index