Class DatastoreStore (7.0.0)

Inheritance

expressSession.Store > DatastoreStore

Package

@google-cloud/connect-datastore

Constructors

(constructor)(options)

constructor(options?: DataStoreOptions);

Constructs a new instance of the DatastoreStore class

Parameter
NameDescription
options DataStoreOptions

Properties

destroy

destroy: (sid: string, callback?: ((err: Error | null) => void) | undefined) => void;

ds

ds: Datastore;

expirationMs

expirationMs: number;

get

get: (sid: string, callback: (err: Error | null, session?: expressSession.SessionData | null) => void) => void;

kind

kind: string;

set

set: (sid: string, sess: expressSession.SessionData, callback?: ((err: Error | null) => void) | undefined) => void;