[][src]Function firestore_db_and_auth::documents::list

Important traits for List<'a, T, BEARER>
pub fn list<'a, T, BEARER>(
    auth: &'a mut BEARER,
    path: &str
) -> List<'a, T, BEARER> where
    BEARER: FirebaseAuthBearer<'c>, 

List all documents of a given collection.

Please note that this API acts as an iterator of same-like documents. This type is not suitable if you want to list documents of different types.

Arguments

  • 'auth' The authentication token
  • 'path' The document path / collection; For example "my_collection" or "a/nested/collection"