Skip to main content

DocInsertResult

Type Alias DocInsertResult 

Source
pub type DocInsertResult = InsertResult;
Expand description

Result of a Database::doc_insert call with an auto-generated document ID.

Aliased Type§

pub struct DocInsertResult {
    pub id: String,
    pub internal_id: u32,
    pub created: bool,
}

Fields§

§id: String

The auto-generated external document ID.

§internal_id: u32

Internal document ID assigned in the collection.

§created: bool

True if this write inserted a new document key (always true for insert).