Struct mentat_query_pull::Puller
[−]
[src]
pub struct Puller { /* fields omitted */ }
A Puller
constructs on demand a map from a provided set of entity IDs to a set of structured maps.
Methods
impl Puller
[src]
pub fn prepare(
schema: &Schema,
attributes: Vec<PullAttributeSpec>
) -> Result<Puller>
[src]
schema: &Schema,
attributes: Vec<PullAttributeSpec>
) -> Result<Puller>
pub fn pull<E>(
&self,
schema: &Schema,
db: &Connection,
entities: E
) -> Result<BTreeMap<Entid, ValueRc<StructuredMap>>> where
E: IntoIterator<Item = Entid>,
[src]
&self,
schema: &Schema,
db: &Connection,
entities: E
) -> Result<BTreeMap<Entid, ValueRc<StructuredMap>>> where
E: IntoIterator<Item = Entid>,