{"id":25115800,"url":"https://github.com/allancalix/recursive-doc-model","last_synced_at":"2025-06-14T21:03:24.219Z","repository":{"id":130356805,"uuid":"382468774","full_name":"allancalix/recursive-doc-model","owner":"allancalix","description":"Explores recursive document models using Postgresql","archived":false,"fork":false,"pushed_at":"2021-07-02T21:34:12.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T21:03:22.412Z","etag":null,"topics":["postgresql","relational-model","sql"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allancalix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-02T21:32:06.000Z","updated_at":"2021-07-02T21:36:05.000Z","dependencies_parsed_at":"2023-03-22T10:18:15.097Z","dependency_job_id":null,"html_url":"https://github.com/allancalix/recursive-doc-model","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/allancalix/recursive-doc-model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allancalix%2Frecursive-doc-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allancalix%2Frecursive-doc-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allancalix%2Frecursive-doc-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allancalix%2Frecursive-doc-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allancalix","download_url":"https://codeload.github.com/allancalix/recursive-doc-model/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allancalix%2Frecursive-doc-model/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259884417,"owners_count":22926440,"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":["postgresql","relational-model","sql"],"created_at":"2025-02-08T02:34:20.423Z","updated_at":"2025-06-14T21:03:24.198Z","avatar_url":"https://github.com/allancalix.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# recursive-doc-model\n\nExplores using a relational model to express a recursive document model where\none document (origin) can reference another (destination). Destination documents\ncan also contain references.\n\nThe first question explored here is how can we collect a specific attriibute,\nin this case _ingredients_, for all documents referenced by the origin document\n(either directly or indirectly).\n\n## Try it yourself\nDepends on:\n  1. psql\n  1. docker compose (built in to newer Docker cli versions)\n\n### Commands\n```bash\n  # Start\n  make\n  # Stop\n  make clean\n\n  # Example query\n  psql \"postgres://admin:test123@localhost:5432\" -f sql/query.sql\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallancalix%2Frecursive-doc-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallancalix%2Frecursive-doc-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallancalix%2Frecursive-doc-model/lists"}