Trait pliantdb_core::schema::Database[][src]

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

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

Required methods

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...