{"id":31218534,"url":"https://github.com/elitan/tsql","last_synced_at":"2025-09-21T15:07:23.829Z","repository":{"id":273807698,"uuid":"918650096","full_name":"elitan/tsql","owner":"elitan","description":"A type-safe SQL query builder and database toolkit for TypeScript.","archived":false,"fork":false,"pushed_at":"2025-09-21T00:32:04.000Z","size":240,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-21T02:35:39.730Z","etag":null,"topics":["bun","database","mssql","mysql","nodejs","postgres","sql","sqlite","typescript"],"latest_commit_sha":null,"homepage":"https://tsql.space","language":"MDX","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/elitan.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-18T13:55:38.000Z","updated_at":"2025-05-23T18:45:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"febc0078-05a1-4753-bb9f-3a8736beeaa0","html_url":"https://github.com/elitan/tsql","commit_stats":null,"previous_names":["elitan/tsql"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/elitan/tsql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elitan%2Ftsql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elitan%2Ftsql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elitan%2Ftsql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elitan%2Ftsql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elitan","download_url":"https://codeload.github.com/elitan/tsql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elitan%2Ftsql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276257840,"owners_count":25611549,"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-09-21T02:00:07.055Z","response_time":72,"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":["bun","database","mssql","mysql","nodejs","postgres","sql","sqlite","typescript"],"created_at":"2025-09-21T15:07:21.596Z","updated_at":"2025-09-21T15:07:23.823Z","avatar_url":"https://github.com/elitan.png","language":"MDX","readme":"# tSQL\n\ntSQL is a type-safe SQL query builder and database toolkit for TypeScript.\n\n```ts\nconst users = await db\n  .selectFrom(\"users\")\n  .select([\"id\", \"name\", \"email\"])\n  .execute();\n\n// users is now typed as { id: number; name: string; email: string }[]\n```\n\n## Features\n\n- **Fluent API**: Fully type-safe SQL query builder with a fluent API.\n- **Automatic Type Generation**: Automatic type generation from your database schema.\n- **Multi-Dialect Support**: Compatible with popular SQL databases including PostgreSQL, MySQL, SQLite, and MSSQL.\n\n## Documentation\n\n[tsql.space](https://tsql.space) is the official documentation for tSQL.\n\n## Contributions\n\ntSQL builds upon the excellent work of the following open-source projects:\n\n- [Kysely](https://github.com/kysely-org/kysely): A type-safe SQL query builder for TypeScript.\n- [kysely-codegen](https://github.com/RobinBlomberg/kysely-codegen): A code generator for Kysely.\n\nWe are grateful to the maintainers and contributors of these projects.\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felitan%2Ftsql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felitan%2Ftsql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felitan%2Ftsql/lists"}