agdb 0.12.10

Agnesoft Graph Database
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::DbValue;
use crate::InsertIndexQuery;

/// Final step in the insert index query builder.
#[cfg_attr(feature = "api", derive(agdb::TypeDef))]
pub struct InsertIndex(pub DbValue);

#[cfg_attr(feature = "api", agdb::impl_def())]
impl InsertIndex {
    /// Returns the built `InsertIndexQuery`.
    pub fn query(self) -> InsertIndexQuery {
        InsertIndexQuery(self.0)
    }
}