{"id":48528938,"url":"https://github.com/tinywasm/sqlite","last_synced_at":"2026-04-07T23:30:44.632Z","repository":{"id":168467308,"uuid":"644153322","full_name":"tinywasm/sqlite","owner":"tinywasm","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-31T15:11:46.000Z","size":167,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-31T17:26:49.852Z","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/tinywasm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["cdvelop"]}},"created_at":"2023-05-22T23:53:50.000Z","updated_at":"2026-03-31T15:11:56.000Z","dependencies_parsed_at":"2023-09-27T21:46:38.224Z","dependency_job_id":"f3a9e157-8f3a-4625-9e1b-a5e3b38cfc50","html_url":"https://github.com/tinywasm/sqlite","commit_stats":null,"previous_names":["cdvelop/sqlite","cesarsoliscaro/sqlite","tinywasm/sqlite"],"tags_count":138,"template":false,"template_full_name":null,"purl":"pkg:github/tinywasm/sqlite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinywasm%2Fsqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinywasm%2Fsqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinywasm%2Fsqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinywasm%2Fsqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinywasm","download_url":"https://codeload.github.com/tinywasm/sqlite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinywasm%2Fsqlite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31533823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"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":[],"created_at":"2026-04-07T23:30:43.761Z","updated_at":"2026-04-07T23:30:44.620Z","avatar_url":"https://github.com/tinywasm.png","language":"Go","funding_links":["https://github.com/sponsors/cdvelop"],"categories":[],"sub_categories":[],"readme":"# sqlite\n\u003cimg src=\"docs/img/badges.svg\"\u003e\n\nThis is the `tinywasm/sqlite` adapter for `github.com/tinywasm/orm`.\n\n## Usage\n\nYou can now initialize your database with a single line of code:\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\n\t\"github.com/tinywasm/sqlite\"\n)\n\nfunc main() {\n\t// sqlite.Open returns a fully instantiated *orm.DB instance\n\tdb, err := sqlite.Open(\"my_database.sqlite\")\n\tif err != nil {\n\t\tlog.Fatalf(\"failed to open database: %v\", err)\n\t}\n\tdefer sqlite.Close(db)\n\n\t// Ready to use db via github.com/tinywasm/orm fluent API\n\t// ...\n}\n```\n\n## Update\n\n`db.Update` always requires at least one `Condition`. This is enforced at\ncompile time by `tinywasm/orm`. There is no \"update by PK implicitly\" magic.\n\n```go\n// ✅ Correct\nif err := db.Update(\u0026user, orm.Eq(\"id\", user.ID)); err != nil { ... }\n\n// ❌ Compile error (caught by tinywasm/orm — will not reach the SQLite layer)\ndb.Update(\u0026user)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinywasm%2Fsqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinywasm%2Fsqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinywasm%2Fsqlite/lists"}