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]
impl Puller
pub fn prepare(
schema: &Schema,
attributes: Vec<PullAttributeSpec>
) -> Result<Puller>
[src]
pub fn prepare(
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]
pub fn pull<E>(
&self,
schema: &Schema,
db: &Connection,
entities: E
) -> Result<BTreeMap<Entid, ValueRc<StructuredMap>>> where
E: IntoIterator<Item = Entid>,