pub trait RelationBatchExecutor: Send + Sync {
// Required method
fn load_batch<'life0, 'life1, 'async_trait>(
&'life0 self,
batch: &'life1 RelationBatch,
) -> Pin<Box<dyn Future<Output = Result<Vec<Record>, BaseError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
关系批次执行边界;数据库 Adapter 必须对一个 batch 只发起一次 IN 查询。
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".