Trait entity::KeyValueDatabase [−][src]
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
fn ids(&self) -> HashSet<Id>
[src]
Returns ids of all ents stored in the database
fn has_id(&self, id: Id) -> bool
[src]
Returns true if database contains the provided id
fn ids_for_type(&self, type: &str) -> HashSet<Id>
[src]
Returns ids of all ents for the given type