pub struct SqliteDatabase(/* private fields */);Expand description
Records in SQLite, on a connection that can be shared with the rest of an application. Any number of spaces share it.
Implementations§
Source§impl SqliteDatabase
impl SqliteDatabase
Sourcepub fn builder(connection: Rc<Connection>) -> SqliteBuilder
pub fn builder(connection: Rc<Connection>) -> SqliteBuilder
Starts one on this connection. See SqliteBuilder.
Sourcepub fn space(&self) -> SqliteObjectSpace
pub fn space(&self) -> SqliteObjectSpace
A new unit of work.
Sourcepub fn entities(&self) -> Vec<EntityInfo>
pub fn entities(&self) -> Vec<EntityInfo>
The entities it knows.
Trait Implementations§
Source§impl Clone for SqliteDatabase
impl Clone for SqliteDatabase
Source§fn clone(&self) -> SqliteDatabase
fn clone(&self) -> SqliteDatabase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for SqliteDatabase
impl !Send for SqliteDatabase
impl !Sync for SqliteDatabase
impl !UnwindSafe for SqliteDatabase
impl Freeze for SqliteDatabase
impl Unpin for SqliteDatabase
impl UnsafeUnpin for SqliteDatabase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more