fn is_deployed(&self, id: &SubgraphDeploymentId) -> Result<bool, Error> {
        // The subgraph of subgraphs is always deployed.
        if id == &*SUBGRAPHS_ID {
            return Ok(true);
        }

        // Check store for a deployment entity for this subgraph ID
        self.get(SubgraphDeploymentEntity::key(id.to_owned()))
            .map_err(|e| format_err!("Failed to query SubgraphDeployment entities: {}", e))
            .map(|entity_opt| entity_opt.is_some())
    }
/// Check if the store is accepting queries for the specified subgraph.
/// May return true even if the specified subgraph is not currently assigned to an indexing
/// node, as the store will still accept queries.
Check if the store is accepting queries for the specified subgraph.
May return true even if the specified subgraph is not currently assigned to an indexing
node, as the store will still accept queries.
Check if the store is accepting queries for the specified subgraph . May return true even if the specified subgraph is not currently assigned to an indexing node as the store will still accept queries .
fn is_deployed(&self, id: &SubgraphDeploymentId) -> Result<bool, Error> {
        // The subgraph of subgraphs is always deployed.
        if id == &*SUBGRAPHS_ID {
            return Ok(true);
        }
        // Check store for a deployment entity for this subgraph ID
        self.get(SubgraphDeploymentEntity::key(id.to_owned()))
            .map_err(|e| format_err!("Failed to query SubgraphDeployment entities: {}", e))
            .map(|entity_opt| entity_opt.is_some())
    }
fn is_deployed ( & self , id : & SubgraphDeploymentId ) -> Result < bool , Error > { // The subgraph of subgraphs is always deployed. if id == & * SUBGRAPHS_ID { return Ok ( true ) ; } // Check store for a deployment entity for this subgraph ID self . get ( SubgraphDeploymentEntity :: key ( id . to_owned ( ) ) ) . map_err ( | e | format_err ! ( " " e ) ) . map ( | entity_opt | entity_opt . is_some ( ) ) }
Check if the store is accepting queries for the specified subgraph.
Check if the store is accepting queries for the specified subgraph .
&self
id
&SubgraphDeploymentId
&self
id
&SubgraphDeploymentId