[−][src]Trait entity::KeyValueDatabase
Represents a key-value store database that performs synchronous insertion,
retrieval, and removal. It provides blanket support for
Database(super::Database
] to perform complex operations.
Required methods
pub fn ids(&self) -> HashSet<Id>
[src]
Returns ids of all ents stored in the database
pub fn has_id(&self, id: Id) -> bool
[src]
Returns true if database contains the provided id
pub fn ids_for_type(&self, type: &str) -> HashSet<Id>
[src]
Returns ids of all ents for the given type