Skip to main content

TeaqlEntityDataService

Trait TeaqlEntityDataService 

Source
pub trait TeaqlEntityDataService: TeaqlRecordDataService {
    // Required methods
    async fn fetch_enhanced_entities<T>(
        &self,
        query: &SelectQuery,
    ) -> Result<SmartList<T>, DataServiceError<Self::Error>>
       where T: Entity;
    async fn fetch_enhanced_entities_with_relation_aggregates<T>(
        &self,
        query: &SelectQuery,
        relation_aggregates: &[RuntimeRelationAggregate],
    ) -> Result<SmartList<T>, DataServiceError<Self::Error>>
       where T: Entity;
}

Required Methods§

Source

async fn fetch_enhanced_entities<T>( &self, query: &SelectQuery, ) -> Result<SmartList<T>, DataServiceError<Self::Error>>
where T: Entity,

Source

async fn fetch_enhanced_entities_with_relation_aggregates<T>( &self, query: &SelectQuery, relation_aggregates: &[RuntimeRelationAggregate], ) -> Result<SmartList<T>, DataServiceError<Self::Error>>
where T: Entity,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§