{"id":19594016,"url":"https://github.com/jonatan-ivanov/grdb","last_synced_at":"2026-04-11T20:09:38.477Z","repository":{"id":150733416,"uuid":"153049742","full_name":"jonatan-ivanov/grdb","owner":"jonatan-ivanov","description":"Dummy DB tester CLI app on the JVM","archived":false,"fork":false,"pushed_at":"2021-05-09T03:51:51.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-29T16:57:52.344Z","etag":null,"topics":["database","db","groovy"],"latest_commit_sha":null,"homepage":null,"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/jonatan-ivanov.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":"2018-10-15T03:46:05.000Z","updated_at":"2021-05-09T03:51:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"d67a5ba5-8dbd-4e79-9d1b-5e502d34e350","html_url":"https://github.com/jonatan-ivanov/grdb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonatan-ivanov/grdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonatan-ivanov%2Fgrdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonatan-ivanov%2Fgrdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonatan-ivanov%2Fgrdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonatan-ivanov%2Fgrdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonatan-ivanov","download_url":"https://codeload.github.com/jonatan-ivanov/grdb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonatan-ivanov%2Fgrdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31693311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["database","db","groovy"],"created_at":"2024-11-11T08:42:04.809Z","updated_at":"2026-04-11T20:09:38.432Z","avatar_url":"https://github.com/jonatan-ivanov.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grdb\nDummy DB tester CLI app on the JVM.  \nJust a siple script which downloads and uses the DB driver of your choice, runs your Groovy [script](http://docs.groovy-lang.org/latest/html/documentation/#_interacting_with_a_sql_database) (see: [Sql JavaDoc](http://docs.groovy-lang.org/latest/html/api/groovy/sql/Sql.html)) and prints out the result in JSON.\n\n[![asciicast](https://asciinema.org/a/206545.png)](https://asciinema.org/a/206545)\n\n# Command Examples\n\n```\n./grdb.groovy --dependency mysql:mysql-connector-java:8.+ --driver com.mysql.cj.jdbc.Driver --url jdbc:mysql://localhost:3306/testDB --username test --password secret\n```\n```\n./grdb.groovy --dependency mysql:mysql-connector-java:8.+ --driver com.mysql.cj.jdbc.Driver --url jdbc:mysql://localhost:3306/testDB --username test --password secret \"sql.rows 'SELECT * FROM testTable'\"\n```\n```\n./grdb.groovy --dependency net.sourceforge.jtds:jtds:1.+ --driver net.sourceforge.jtds.jdbc.Driver --url jdbc:jtds:sqlserver://localhost:1433/testDB --username test --password secret \"sql.rows 'SELECT * FROM testTable'\"\n```\n\n# Query Examples\n\n```\nsql.rows 'select * from table'\nsql.firstRow 'select * from table'\nsql.execute 'insert into table (name) values (\"John Doe\")'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonatan-ivanov%2Fgrdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonatan-ivanov%2Fgrdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonatan-ivanov%2Fgrdb/lists"}