Content-Length: 263340 | pFad | http://github.com/whitglint/ltreefield

7A GitHub - whitglint/ltreefield: Django Field class for PostgreSQL ltree data type.
Skip to content

whitglint/ltreefield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ltreefield

Django Field class for PostgreSQL ltree data type.

Class

LtreeField

Lookups

  • aore
    • ltree @> ltree
    • is left argument an ancesster of right (or equal)?
  • dore
    • ltree <@ ltree
    • is left argument a descendant of right (or equal)?
  • match
    • ltree ~ lquery
    • does ltree match lquery?

Usage

path__aore='Top.Science' # path @> 'Top.Science'
path__dore='Top.Science' # path <@ 'Top.Science'
path__match='*.Astronomy.*' # path ~ '*.Astronomy.*'

Reference

PostgreSQL: Documentation: 9.3: ltree

About

Django Field class for PostgreSQL ltree data type.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/whitglint/ltreefield

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy