etcd3 API - v2.0.0
    Preparing search index...

    Class DeleteBuilder

    DeleteBuilder builds a deletion.

    Hierarchy

    Index
    • All will instruct etcd to wipe all keys.

      Returns this

    • getPrevious instructs etcd to try to get the previous value of the key before setting it. One may not always be available if a compaction takes place.

      Returns Promise<IKeyValue[]>

    • key sets a single key to be deleted.

      Parameters

      • value: string | Buffer<ArrayBufferLike>

      Returns this

    • Sets the GRPC call options for this request.

      Parameters

      • options: CallOptions | undefined

      Returns this

    • key sets a single key to be deleted.

      Parameters

      • value: string | Buffer<ArrayBufferLike>

      Returns this

    • then implements Promiselike.then()

      Type Parameters

      • R
      • V

      Parameters

      Returns Promise<R | V>