Interface DataSet

Package

google-cloud-kvstore

Methods

delete(key)

delete(key: Key): Promise<void>;
Parameter
NameDescription
key Key
Returns
TypeDescription
Promise<void>

delete(key, callback)

delete(key: Key, callback: DeleteCallback): void;
Parameters
NameDescription
key Key
callback DeleteCallback
Returns
TypeDescription
void

get(key, callback)

get(key: Key, callback: GetCallback): void;
Parameters
NameDescription
key Key
callback GetCallback
Returns
TypeDescription
void

get(key)

get(key: Key): Promise<[Entity]>;
Parameter
NameDescription
key Key
Returns
TypeDescription
Promise<[Entity]>

key(input)

key(input: Key[]): Key;
Parameter
NameDescription
input Key[]
Returns
TypeDescription
Key

save(request, callback)

save(request: SetRequest, callback: SetCallback): void;
Parameters
NameDescription
request SetRequest
callback SetCallback
Returns
TypeDescription
void

save(request)

save(request: SetRequest): Promise<void>;
Parameter
NameDescription
request SetRequest
Returns
TypeDescription
Promise<void>