GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - NJdevPro/Closure-Table: An implementation of the closure table pattern in Python + SQL

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
closure_table.py
closure_table.py
 
 
closure_table_test.py
closure_table_test.py
 
 

Repository files navigation

Closure-Table

An implementation of the closure table pattern in Python + SQL

A closure table is a table that permits to represent hierarchical data or a tree structure in a SQL table and query them efficiently without having to create recursive queries.

See for instance: https://technobytz.com/closure_table_store_hierarchical_data.html

This particular program was written for use with SQLite but the SQL is standard and thus adaptation to other databases should be straightforward.

Published under MIT license

About

An implementation of the closure table pattern in Python + SQL

Topics

closure-tablehierarchical-datahierarchical-modelspython-sqlsqltree-structure

Resources

Readme
MIT license
Activity

Stars

16 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.