{"id":20238435,"url":"https://github.com/smallstep/qb","last_synced_at":"2025-08-20T12:07:22.575Z","repository":{"id":57660575,"uuid":"450330980","full_name":"smallstep/qb","owner":"smallstep","description":"Just a simple SQL query builder","archived":false,"fork":false,"pushed_at":"2024-04-19T22:49:49.000Z","size":39,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-10T19:56:48.630Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smallstep.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-21T02:47:43.000Z","updated_at":"2024-04-27T10:28:24.000Z","dependencies_parsed_at":"2024-04-19T23:33:43.295Z","dependency_job_id":"0ede654b-d549-480c-a687-dc5863a857db","html_url":"https://github.com/smallstep/qb","commit_stats":{"total_commits":18,"total_committers":3,"mean_commits":6.0,"dds":"0.16666666666666663","last_synced_commit":"aae4b01b96e213c5c895377180f78e4041985834"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/smallstep/qb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstep%2Fqb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstep%2Fqb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstep%2Fqb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstep%2Fqb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smallstep","download_url":"https://codeload.github.com/smallstep/qb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstep%2Fqb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271314379,"owners_count":24738163,"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-20T02:00:09.606Z","response_time":69,"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":[],"created_at":"2024-11-14T08:34:09.543Z","updated_at":"2025-08-20T12:07:22.539Z","avatar_url":"https://github.com/smallstep.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qb\n\nJust a simple SQL query builder for PostgreSQL.\n\n## Get it\n\n```console\ngo get go.step.sm/qb\n```\n\n## Usage\n\n```go\npackage users\n\nimport \"go.step.sm/qb\"\n\nvar selectUser, insertUser, updateUser, deleteUser string\nvar selectUserByEmail string\n\nfunc init() {\n    q := qb.NewQueryBuilder(\"users\", []string{\n        \"id\", \"name\", \"email\",\n        \"created_at\", \"updated_at\", \"deleted_at\",\n    })\n    selectUser, insertUser, updateUser, deleteUser = q.Queries()\n    selectUserByEmail = q.SelectBy(\"email\")\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallstep%2Fqb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmallstep%2Fqb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallstep%2Fqb/lists"}