Django Field class for PostgreSQL ltree data type.
LtreeField
- aore
- ltree @> ltree
- is left argument an ancestor of right (or equal)?
- dore
- ltree <@ ltree
- is left argument a descendant of right (or equal)?
- match
- ltree ~ lquery
- does ltree match lquery?
path__aore='Top.Science' # path @> 'Top.Science'
path__dore='Top.Science' # path <@ 'Top.Science'
path__match='*.Astronomy.*' # path ~ '*.Astronomy.*'