{"id":22141652,"url":"https://github.com/bearddan2000/groovy-cli-gradle-postgres-subquery","last_synced_at":"2025-03-24T11:23:03.208Z","repository":{"id":234055411,"uuid":"697869114","full_name":"bearddan2000/groovy-cli-gradle-postgres-subquery","owner":"bearddan2000","description":"Creates a small database table","archived":false,"fork":false,"pushed_at":"2023-09-28T16:29:23.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T16:33:10.998Z","etag":null,"topics":["cli","driver","gradle","groovy","log4j","postgres","subquery"],"latest_commit_sha":null,"homepage":"https://github.com/bearddan2000/groovy-cli-gradle-postgres-subquery","language":"Groovy","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/bearddan2000.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}},"created_at":"2023-09-28T16:29:20.000Z","updated_at":"2023-09-28T16:29:27.000Z","dependencies_parsed_at":"2024-04-18T03:31:42.415Z","dependency_job_id":"d5f9021d-5188-4a36-adff-55658f028a4b","html_url":"https://github.com/bearddan2000/groovy-cli-gradle-postgres-subquery","commit_stats":null,"previous_names":["bearddan2000/groovy-cli-gradle-postgres-subquery"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-postgres-subquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-postgres-subquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-postgres-subquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-postgres-subquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bearddan2000","download_url":"https://codeload.github.com/bearddan2000/groovy-cli-gradle-postgres-subquery/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245258420,"owners_count":20586013,"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":["cli","driver","gradle","groovy","log4j","postgres","subquery"],"created_at":"2024-12-01T21:14:15.135Z","updated_at":"2025-03-24T11:23:03.188Z","avatar_url":"https://github.com/bearddan2000.png","language":"Groovy","readme":"# groovy-cli-gradle-postgres-subquery\n\n## Description\nCreates a small database table\ncalled `dog`. This table, `dog`, has been normalized to 3NF.\nTwo new tables have been added, `breedLookup` and `colorLookup`.\nCreates a new table `dog_expanded` that joins\n`dog`, `breedLookup` and `colorLookup`. Added clustered indexes on\n`dog`.breedId and `dog`.colorId. Turned `dog_expanded` into a view with an\nimplicit index on `dog_expanded`.id. Using a subquery with the aggregate function\nCOUNT, create a new view `breed_count`. All output normally\nseen in a terminal will be in `groovy-srv/log` which will dump to the screen. The project may seem to hang but the logs from the container must be written to the project this can take up to 3 min.\n\n## Tech stack\n- groovy\n- gradle\n  - log4j\n  - postgres driver\n\n## Docker stack\n- gradle:jdk11\n- postgres\n\n## To run\n`sudo ./install.sh -u`\nCreates groovy-srv/log\n\n## To stop\n`sudo ./install.sh -d`\nRemoves groovy-srv/log\n\n## For help\n`sudo ./install.sh -h`\n\n## Credit\nhttps://github.com/htorun/dbtableprinter\n\n## groovy-cli specific search\n- [Search by gradle](https://github.com/bearddan2000?tab=repositories\u0026q=groovy-cli-gradle\u0026type=\u0026language=\u0026sort=)\n- [Search by postgres](https://github.com/bearddan2000?tab=repositories\u0026q=groovy-cli-postgres\u0026type=\u0026language=\u0026sort=)\n- [Search by subquery](https://github.com/bearddan2000?tab=repositories\u0026q=groovy-cli-subquery\u0026type=\u0026language=\u0026sort=)\n- [Search by log4j](https://github.com/bearddan2000?tab=repositories\u0026q=groovy-cli-log4j\u0026type=\u0026language=\u0026sort=)\n- [Search by driver](https://github.com/bearddan2000?tab=repositories\u0026q=groovy-cli-driver\u0026type=\u0026language=\u0026sort=)\n\n## General search\n- [Search by groovy](https://github.com/bearddan2000?tab=repositories\u0026q=java\u0026type=\u0026language=\u0026sort=)\n- [Search by cli](https://github.com/bearddan2000?tab=repositories\u0026q=cli\u0026type=\u0026language=\u0026sort=)\n- [Search by gradle](https://github.com/bearddan2000?tab=repositories\u0026q=gradle\u0026type=\u0026language=\u0026sort=)\n- [Search by postgres](https://github.com/bearddan2000?tab=repositories\u0026q=postgres\u0026type=\u0026language=\u0026sort=)\n- [Search by subquery](https://github.com/bearddan2000?tab=repositories\u0026q=subquery\u0026type=\u0026language=\u0026sort=)\n- [Search by log4j](https://github.com/bearddan2000?tab=repositories\u0026q=log4j\u0026type=\u0026language=\u0026sort=)\n- [Search by driver](https://github.com/bearddan2000?tab=repositories\u0026q=driver\u0026type=\u0026language=\u0026sort=)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearddan2000%2Fgroovy-cli-gradle-postgres-subquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbearddan2000%2Fgroovy-cli-gradle-postgres-subquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearddan2000%2Fgroovy-cli-gradle-postgres-subquery/lists"}