{"id":18648081,"url":"https://github.com/sqlc-dev/quickdb","last_synced_at":"2025-10-16T15:42:35.366Z","repository":{"id":196167329,"uuid":"694731304","full_name":"sqlc-dev/quickdb","owner":"sqlc-dev","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-12T21:31:37.000Z","size":13,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-13T10:58:53.834Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/sqlc-dev.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}},"created_at":"2023-09-21T15:20:26.000Z","updated_at":"2023-10-07T23:47:11.000Z","dependencies_parsed_at":"2023-09-22T05:09:04.140Z","dependency_job_id":null,"html_url":"https://github.com/sqlc-dev/quickdb","commit_stats":null,"previous_names":["sqlc-dev/quickdb"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlc-dev%2Fquickdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlc-dev%2Fquickdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlc-dev%2Fquickdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlc-dev%2Fquickdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sqlc-dev","download_url":"https://codeload.github.com/sqlc-dev/quickdb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223469892,"owners_count":17150447,"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":[],"created_at":"2024-11-07T06:28:52.634Z","updated_at":"2025-10-16T15:42:35.286Z","avatar_url":"https://github.com/sqlc-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quickdb\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"log\"\n\t\"os\"\n\n\t\"github.com/sqlc-dev/quickdb\"\n\tpb \"github.com/sqlc-dev/quickdb/v1\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\tprojectID := os.Getenv(\"SQLC_PROJECT_ID\")\n\tauthToken := os.Getenv(\"SQLC_AUTH_TOKEN\")\n\tclient, err := quickdb.NewClient(projectID, authToken)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tresp, err := client.CreateEphemeralDatabase(ctx, \u0026pb.CreateEphemeralDatabaseRequest{\n\t\tEngine: \"postgresql\",\n\t})\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tlog.Println(resp.Uri)\n\n\t_, err = client.DropEphemeralDatabase(ctx, \u0026pb.DropEphemeralDatabaseRequest{\n\t\tDatabaseId: resp.DatabaseId,\n\t})\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlc-dev%2Fquickdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqlc-dev%2Fquickdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlc-dev%2Fquickdb/lists"}