Class Mutators

Hierarchy

  • Mutators

Constructors

Properties

DefaultCollectionKeyValueMutator: CollectionMutator<QuerySnapshot<DocumentData>> = ...

The DefaultCollectionKeyValueMutator field is a default key-value mutator.

Methods

  • The SpecificKeyFieldKVMutator() method produce CollectionMutator that mutates collection array to the key-value object.

    Returns

    CollectionMutator

    Parameters

    • keyLocator: ((doc: DocumentSnapshot<DocumentData>) => string) = ...

      Key locator function finds the value that will be object key.

        • (doc: DocumentSnapshot<DocumentData>): string
        • Parameters

          • doc: DocumentSnapshot<DocumentData>

          Returns string

    Returns CollectionMutator<QuerySnapshot<DocumentData>>

Generated using TypeDoc