firestore namespace

기능

기능 설명
beforeSnapshotConstructor(이벤트)
데이터베이스(데이터베이스)
문서(경로) 이벤트를 수신할 Firestore 문서를 선택하세요.
네임스페이스(네임스페이스)
snapshotConstructor(이벤트)

클래스

수업 설명
데이터베이스빌더
DocumentBuilder
네임스페이스빌더

유형 별칭

유형 별칭 설명
문서스냅샷
쿼리문서스냅샷

firestore.beforeSnapshotConstructor()

서명:

export declare function beforeSnapshotConstructor(event: Event): DocumentSnapshot;

매개변수

매개변수 유형 설명
이벤트 이벤트

보고:

문서스냅샷

Firestore.database()

서명:

export declare function database(database: string): DatabaseBuilder;

매개변수

매개변수 유형 설명
데이터 베이스

보고:

데이터베이스 빌더

Firestore.문서()

이벤트를 수신할 Firestore 문서를 선택하세요.

서명:

export declare function document<Path extends string>(path: Path): DocumentBuilder<Path>;

매개변수

매개변수 유형 설명
수신할 전체 데이터베이스 경로입니다. 여기에는 문서가 속한 컬렉션의 이름이 포함됩니다. 예를 들어 컬렉션 이름이 "users"이고 문서 이름이 "Ada"인 경우 경로는 "/users/Ada"입니다.

보고:

DocumentBuilder <경로>

firestore.namespace()

서명:

export declare function namespace(namespace: string): NamespaceBuilder;

매개변수

매개변수 유형 설명
네임스페이스

보고:

네임스페이스 빌더

firestore.snapshotConstructor()

서명:

export declare function snapshotConstructor(event: Event): DocumentSnapshot;

매개변수

매개변수 유형 설명
이벤트 이벤트

보고:

문서스냅샷

Firestore.DocumentSnapshot

서명:

export type DocumentSnapshot = firestore.DocumentSnapshot;

Firestore.QueryDocumentSnapshot

서명:

export type QueryDocumentSnapshot = firestore.QueryDocumentSnapshot;