1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//!
//! This module contains queries for relations.
//!
//! Naming rules.
//!
//! `*Relates*` - matches origins of relations.
//! `*Related*` - matches targets of relations.
//! `*RelatesTo` - contains specific relation target.
//! `*RelatedBy` - contains specific relation origin.
//!
//! # Queries
//!
//! [`Relates`] - matches relation origins and fetches slice of relation instances and targets.
//! [`RelatesExclusive`] - matches relation origins and fetches exclusive relation instance and target.
//! [`RelatesTo`] - matches relation origin with specified target and fetches relation instance.
//! [`Related`] - matches relation targets and fetches slice of origins.
//!
//! # Filters
//!
//! [`FilterRelates`] - filters relation targets.
//! [`FilterRelatesTo`] - filters relations targets with specified origin.
//! [`FilterNotRelates`] - filters entities that are not relation targets.
//! [`FilterNotRelatesTo`] - filters entities that are not relation targets with specified origin.
//!
//! [`FilterRelated`] - filters relation targets.
//! [`FilterRelatedBy`] - filters relations targets with specified origin.
//! [`FilterNotRelated`] - filters entities that are not relation targets.
//! [`FilterNotRelatedBy`] - filters entities that are not relation targets with specified origin.
pub use ;