Skip to main content

composite_index_struct_level

Function composite_index_struct_level 

Source
pub async fn composite_index_struct_level(t: &mut Test) -> Result<()>
Expand description

Struct-level #[index(field)] is equivalent to field-level #[index] (cross-driver).

Verifies that filter_by_user_id() returns the correct records and issues an indexed operation rather than a full scan.