{"id":13813664,"url":"https://github.com/whitglint/ltreefield","last_synced_at":"2025-05-15T00:33:57.174Z","repository":{"id":24576264,"uuid":"27983951","full_name":"whitglint/ltreefield","owner":"whitglint","description":"Django Field class for PostgreSQL ltree data type.","archived":false,"fork":false,"pushed_at":"2014-12-14T05:56:47.000Z","size":1160,"stargazers_count":16,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-04T04:04:27.074Z","etag":null,"topics":["django-field","ltree","postgresql"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whitglint.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-14T05:03:26.000Z","updated_at":"2020-05-03T07:15:42.000Z","dependencies_parsed_at":"2022-08-23T00:11:10.080Z","dependency_job_id":null,"html_url":"https://github.com/whitglint/ltreefield","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitglint%2Fltreefield","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitglint%2Fltreefield/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitglint%2Fltreefield/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitglint%2Fltreefield/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whitglint","download_url":"https://codeload.github.com/whitglint/ltreefield/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225319294,"owners_count":17455743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django-field","ltree","postgresql"],"created_at":"2024-08-04T04:01:24.924Z","updated_at":"2024-11-19T08:30:53.044Z","avatar_url":"https://github.com/whitglint.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"ltreefield\n==========\n\nDjango Field class for PostgreSQL ltree data type.\n\nClass\n-----\nLtreeField\n\nLookups\n-------\n* aore\n  * ltree @\u003e ltree\n  * is left argument an ancestor of right (or equal)?\n* dore\n  * ltree \u003c@ ltree\n  * is left argument a descendant of right (or equal)?\n* match\n  * ltree ~ lquery\n  * does ltree match lquery?\n\nUsage\n-----\n```python\npath__aore='Top.Science' # path @\u003e 'Top.Science'\npath__dore='Top.Science' # path \u003c@ 'Top.Science'\npath__match='*.Astronomy.*' # path ~ '*.Astronomy.*'\n```\n\nReference\n---------\n[PostgreSQL: Documentation: 9.3: ltree](http://www.postgresql.org/docs/9.3/static/ltree.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitglint%2Fltreefield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhitglint%2Fltreefield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitglint%2Fltreefield/lists"}