{"id":23553088,"url":"https://github.com/rhildred/dotnetsqlite","last_synced_at":"2025-05-15T17:30:15.172Z","repository":{"id":146396811,"uuid":"271063765","full_name":"rhildred/dotnetsqlite","owner":"rhildred","description":"the example from microsoft with a readme that covers Jade","archived":false,"fork":false,"pushed_at":"2020-06-09T17:56:51.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T12:45:21.111Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/rhildred.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}},"created_at":"2020-06-09T17:13:23.000Z","updated_at":"2020-06-09T17:56:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"83d080d7-ef70-4cec-b5d4-b9359479fdb4","html_url":"https://github.com/rhildred/dotnetsqlite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2Fdotnetsqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2Fdotnetsqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2Fdotnetsqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2Fdotnetsqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhildred","download_url":"https://codeload.github.com/rhildred/dotnetsqlite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254387995,"owners_count":22062964,"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-12-26T11:14:00.768Z","updated_at":"2025-05-15T17:30:14.936Z","avatar_url":"https://github.com/rhildred.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotnetsqlite\nThe [example from microsoft](https://docs.microsoft.com/en-us/dotnet/standard/data/sqlite/?tabs=visual-studio) with a readme that covers [Jade](https://rhildred.github.iol/jade).\n\nIn this repo do `dotnet run`. The first time you will get this error but it will create the hello.db file in the current folder:\n\n```\nUnhandled exception. Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: user'.\n   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)\n   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()\n   at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()\n   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()\n   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)\n   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()\n   at Jun9sqlitedotnet.Program.Main(String[] args) in /Volumes/esgaroth/source/repos/Jun9sqlitedotnet/Program.cs:line 24\n```\n\n1. Open the hello.db using the [Jade editor](https://rhildred.github.io) and create the user table with a row to satisfy this sql:\n```\n       command.CommandText =\n                @\"\n        SELECT name\n        FROM user\n        WHERE id = $id\n    \";\n\n```\n2. Save the hello.db from Jade into your Downloads folder. \n3. Move it over top of the hello.db that you copied in step 1.\n4. `dotnet run` and you should see something like:\n\n```\n\nrhildred@Richs-Mac-mini Jun9sqlitedotnet % dotnet run\nHello, Rich!\nrhildred@Richs-Mac-mini Jun9sqlitedotnet %\n\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhildred%2Fdotnetsqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhildred%2Fdotnetsqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhildred%2Fdotnetsqlite/lists"}