pub fn entity<T>(&self, kind: &str) -> Result<EntityStore<T>>
    where
        T: Serialize + DeserializeOwned,
    {
        EntityStore::new(&self.db, kind)
    }
/// Get a handle to subset of the database containing only entities of this type.
Get a handle to subset of the database containing only entities of this type.
Get a handle to subset of the database containing only entities of this type .
pub fn entity<T>(&self, kind: &str) -> Result<EntityStore<T>>
    where
        T: Serialize + DeserializeOwned,
    {
        EntityStore::new(&self.db, kind)
    }
pub fn entity < T > ( & self , kind : & str ) -> Result < EntityStore < T > > where T : Serialize + DeserializeOwned , { EntityStore :: new ( & self . db , kind ) }
Get a handle to subset of the database containing only entities of this type.
Get a handle to subset of the database containing only entities of this type .
&self
kind
&str