agdb 0.12.10

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

/// Final builder that lets you create
/// an actual query object.
#[cfg_attr(feature = "api", derive(agdb::TypeDef))]
pub struct SelectIds(pub SelectValuesQuery);

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