Skip to main content

read_document

Function read_document 

Source
pub fn read_document(
    adapter: &dyn DatabaseOperations,
    config: &DbBackendConfig,
    schema: &AppSchema,
    entity: &str,
    identity: Predicate,
    field: &str,
) -> Result<DocumentSnapshot, DatabaseError>
Expand description

Reads exactly one declared document without exporting any other app entities.