Module embedded_struct_index
Source - embedded_struct_index_schema
- Tests that
#[unique] and #[index] on embedded struct fields produce
physical DB indices on the flattened columns. - embedded_struct_unique_index_enforced
- Tests that unique constraint on embedded struct field is enforced at the
database level and that filtering by indexed embedded fields works.
- nested_embedded_struct_index
- Tests that
#[index] on a field inside a nested embedded struct (embed
within embed) produces a physical DB index on the deeply-flattened column.