{"id":18418628,"url":"https://github.com/bsm/minisql","last_synced_at":"2025-04-13T05:54:53.955Z","repository":{"id":45860790,"uuid":"262042881","full_name":"bsm/minisql","owner":"bsm","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-01T12:31:24.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T05:54:51.514Z","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/bsm.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":"2020-05-07T12:22:20.000Z","updated_at":"2021-12-01T14:08:27.000Z","dependencies_parsed_at":"2022-07-22T11:02:57.928Z","dependency_job_id":null,"html_url":"https://github.com/bsm/minisql","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fminisql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fminisql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fminisql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fminisql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsm","download_url":"https://codeload.github.com/bsm/minisql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670502,"owners_count":21142901,"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-06T04:14:10.659Z","updated_at":"2025-04-13T05:54:53.928Z","avatar_url":"https://github.com/bsm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MiniSQL\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/bsm/minisql.svg)](https://pkg.go.dev/github.com/bsm/minisql)\n[![Test](https://github.com/bsm/minisql/actions/workflows/test.yml/badge.svg)](https://github.com/bsm/minisql/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nA minimal SQL query builder for [Go](https://golang.org/).\n\n## Usage\n\n```go\nfunc GetUserName(ctx context.Context, db *sql.DB, userID int64) (string, error) {\n  query := minisql.Pooled()\n  defer minisql.Release(query)\n\n  query.AppendString(`SELECT user.name FROM users WHERE id = `)\n  query.AppendValue(userID)\n\n  var name string\n  err := query.QueryRowContext(ctx, db).Scan(\u0026name)\n  return name, err\n}\n```\n\n## Documentation\n\nPlease see the [API documentation](https://pkg.go.dev/github.com/bsm/minisql) for package and API descriptions and examples.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsm%2Fminisql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsm%2Fminisql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsm%2Fminisql/lists"}