Skip to main content

DocSetResult

Type Alias DocSetResult 

Source
pub type DocSetResult = SetResult;
Expand description

Outcome of a Database::doc_set call, indicating whether the document was created or replaced.

Aliased Type§

pub struct DocSetResult {
    pub internal_id: u32,
    pub created: bool,
}

Fields§

§internal_id: u32

Internal document ID assigned in the collection.

§created: bool

True if this write inserted a new document key.