Class Firestore

Assembly: redb.Route.Firebase.dll

Fluent API entry point for Firestore endpoints.

// Realtime consumer:
.From(Firestore.Collection("orders")
.Where("status==pending")
.CredentialPath("/secrets/firebase-sa.json").Build())

// CRUD producer:
.To(Firestore.Collection("orders")
.Operation(FirestoreOperationType.Update)
.DocumentId("${header['redbFirestore.DocumentId']}")
.CredentialPath("/secrets/firebase-sa.json").Build())

// Query producer:
.To(Firestore.Collection("users")
.Operation(FirestoreOperationType.Query)
.Where("age>18").OrderBy("name").Limit(50).Build())

public static class Firestore

Inheritance

Object→Firestore

Methods

Collection(string)

Creates a Firestore endpoint builder for the given collection path.

public static FirestoreBuilder Collection(string path)