Class FirestoreStore (3.0.0)

Inheritance

Store > FirestoreStore

Package

@google-cloud/connect-firestore

Constructors

(constructor)(options)

constructor(options: StoreOptions);

Constructs a new instance of the FirestoreStore class

Parameter
Name Description
options StoreOptions

Properties

db

db: Firestore;

destroy

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

get

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

kind

kind: string;

set

set: (sid: string, session: SessionData, callback?: ((err?: Error) => void) | undefined) => void;