{"id":20122457,"url":"https://github.com/ttiimmothy/sqlite-csharp","last_synced_at":"2026-05-08T12:45:47.034Z","repository":{"id":211028994,"uuid":"728007405","full_name":"ttiimmothy/sqlite-csharp","owner":"ttiimmothy","description":"My Sqlite starts with CSharp","archived":false,"fork":false,"pushed_at":"2024-02-11T21:07:38.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-13T07:30:58.036Z","etag":null,"topics":["csharp","sqlite"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ttiimmothy.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-06T03:03:42.000Z","updated_at":"2023-12-06T03:05:48.000Z","dependencies_parsed_at":"2023-12-08T06:26:21.700Z","dependency_job_id":null,"html_url":"https://github.com/ttiimmothy/sqlite-csharp","commit_stats":null,"previous_names":["ttiimmothy/sqlite-csharp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttiimmothy%2Fsqlite-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttiimmothy%2Fsqlite-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttiimmothy%2Fsqlite-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttiimmothy%2Fsqlite-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttiimmothy","download_url":"https://codeload.github.com/ttiimmothy/sqlite-csharp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241565886,"owners_count":19983210,"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":["csharp","sqlite"],"created_at":"2024-11-13T19:37:52.363Z","updated_at":"2026-05-08T12:45:46.968Z","avatar_url":"https://github.com/ttiimmothy.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![progress-banner](https://backend.codecrafters.io/progress/sqlite/904f9c23-9eb0-4459-85b3-fa3f7dd4b6ad)](https://app.codecrafters.io/users/codecrafters-bot?r=2qF)\n\n# Sqlite CSharp\n[![ci](https://github.com/ttiimmothy/sqlite-csharp/actions/workflows/ci.yml/badge.svg)](https://github.com/ttiimmothy/sqlite-csharp/actions/workflows/ci.yml)\n\nThis is a starting point for C# solutions to the\n[\"Build Your Own SQLite\" Challenge](https://codecrafters.io/challenges/sqlite).\n\nIn this challenge, you'll build a barebones SQLite implementation that supports\nbasic SQL queries like `SELECT`. Along the way we'll learn about\n[SQLite's file format](https://www.sqlite.org/fileformat.html), how indexed data\nis\n[stored in B-trees](https://jvns.ca/blog/2014/10/02/how-does-sqlite-work-part-2-btrees/)\nand more.\n\n**Note**: If you're viewing this repo on GitHub, head over to\n[codecrafters.io](https://codecrafters.io) to try the challenge.\n\n## Passing the first stage\n\nThe entry point for your SQLite implementation is in `src/Program.cs`. Study and\nuncomment the relevant code, and push your changes to pass the first stage:\n\n```sh\ngit add .\ngit commit -m \"pass 1st stage\" # any msg\ngit push origin master\n```\n\nTime to move on to the next stage!\n\n## Stage 2 \u0026 beyond\n\nNote: This section is for stages 2 and beyond.\n\n1. Ensure you have `dotnet (6.0)` installed locally\n2. Run `./your_sqlite3.sh` to run your program, which is implemented in\n   `src/Program.cs`.\n3. Commit your changes and run `git push origin master` to submit your solution\n   to CodeCrafters. Test output will be streamed to your terminal.\n\n## Sample Databases\n\nTo make it easy to test queries locally, we've added a sample database in the\nroot of this repository: `sample.db`.\n\nThis contains two tables: `apples` \u0026 `oranges`. You can use this to test your\nimplementation for the first 6 stages.\n\nYou can explore this database by running queries against it like this:\n\n```sh\n$ sqlite3 sample.db \"select id, name from apples\"\n1|Granny Smith\n2|Fuji\n3|Honeycrisp\n4|Golden Delicious\n```\n\nThere are two other databases that you can use:\n\n1. `superheroes.db`:\n   - This is a small version of the test database used in the table-scan stage.\n   - It contains one table: `superheroes`.\n   - It is ~1MB in size.\n2. `companies.db`:\n   - This is a small version of the test database used in the index-scan stage.\n   - It contains one table: `companies`, and one index: `idx_companies_country`\n   - It is ~7MB in size.\n\nThese aren't included in the repository because they're large in size. You can\ndownload them by running this script:\n\n```sh\n./download_sample_databases.sh\n```\n\nIf the script doesn't work for some reason, you can download the databases\ndirectly from\n[codecrafters-io/sample-sqlite-databases](https://github.com/codecrafters-io/sample-sqlite-databases).\n\n## License\n\nSqlite CSharp is licensed under [GNU General Public License v3.0](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttiimmothy%2Fsqlite-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttiimmothy%2Fsqlite-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttiimmothy%2Fsqlite-csharp/lists"}