{"id":19633630,"url":"https://github.com/c0de4un/go-query-builder","last_synced_at":"2025-10-25T12:37:04.349Z","repository":{"id":57692750,"uuid":"482357864","full_name":"c0de4un/go-query-builder","owner":"c0de4un","description":"SQL Query Builder written in Go for sql module","archived":false,"fork":false,"pushed_at":"2022-04-16T22:12:18.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T21:24:22.390Z","etag":null,"topics":["go","golang","mysql","query-builder","sql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c0de4un.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-16T20:47:28.000Z","updated_at":"2022-04-16T22:11:25.000Z","dependencies_parsed_at":"2022-09-26T21:01:03.396Z","dependency_job_id":null,"html_url":"https://github.com/c0de4un/go-query-builder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/c0de4un/go-query-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c0de4un%2Fgo-query-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c0de4un%2Fgo-query-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c0de4un%2Fgo-query-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c0de4un%2Fgo-query-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c0de4un","download_url":"https://codeload.github.com/c0de4un/go-query-builder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c0de4un%2Fgo-query-builder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269991051,"owners_count":24508962,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["go","golang","mysql","query-builder","sql"],"created_at":"2024-11-11T12:17:59.138Z","updated_at":"2025-10-25T12:37:04.280Z","avatar_url":"https://github.com/c0de4un.png","language":"Go","readme":"# go-query-builder\nSQL Query Builder written in Go for sql module\n\n[![GitHub issues](https://img.shields.io/github/issues/c0de4un/go-query-builder)](https://github.com/c0de4un/go-query-builder/issues)\n[![GitHub stars](https://img.shields.io/github/stars/c0de4un/go-query-builder)](https://github.com/c0de4un/go-query-builder/stargazers)\n[![GitHub license](https://img.shields.io/github/license/c0de4un/go-query-builder)](https://github.com/c0de4un/go-query-builder/blob/main/LICENSE)\n![GitHub issues](https://img.shields.io/badge/language-Go-blue)\n\n# Requirements\n* Go 1.17+\n\n# Tests\n```go\n$go test\n```\n# Examples\n\nSimple select\n```go\npackage main\n\nimport (\n    import \"github.com/c0de4un/go-query-builder\"\n    // ...\n)\n\nfunc main() {\n\tbuilder := NewBuilder()\n\tbuilder.Select(\"users.*\")\n\tbuilder.Select(\"projects.id\")\n    builder.From(\"users\")\n    builder.Join(\"projects\", \"projects.id = users.project_id\", \"LEFT\")\n    builder.Where(\"users.id\", \"\u003e\", 1)\n    query := builder.Compile()\n\n    // Execute query\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc0de4un%2Fgo-query-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc0de4un%2Fgo-query-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc0de4un%2Fgo-query-builder/lists"}