Trait pliantdb::local::core::schema::Database[][src]

pub trait Database: 'static + Send + Sync + Debug {
    pub fn define_collections(schema: &mut Schema);
}

Defines a group of collections that are stored into a single database.

Required methods

pub fn define_collections(schema: &mut Schema)[src]

Defines the Collections into schema

Loading content...

Implementors

impl<T> Database for T where
    T: Collection + 'static, 
[src]

Loading content...