[−][src]Trait indradb::Datastore
Specifies a datastore implementation.
Errors
All methods may return an error if something unexpected happens - e.g. if there was a problem connecting to the underlying database.
Associated Types
type Trans: Transaction
Required methods
fn transaction(&self) -> Result<Self::Trans>
Creates a new transaction.
Provided methods
fn bulk_insert<I>(&self, items: I) -> Result<()> where
I: Iterator<Item = BulkInsertItem>,
I: Iterator<Item = BulkInsertItem>,