{"id":21024502,"url":"https://github.com/clancey/simpledatabase","last_synced_at":"2025-07-23T12:33:56.840Z","repository":{"id":6169191,"uuid":"7398957","full_name":"Clancey/SimpleDatabase","owner":"Clancey","description":"Extension of Sqlite-net to make Databases simple for Mobile","archived":false,"fork":false,"pushed_at":"2024-05-22T03:43:20.000Z","size":4793,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-15T08:38:53.640Z","etag":null,"topics":["database","sqlite-orm"],"latest_commit_sha":null,"homepage":"","language":"C#","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/Clancey.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-01-01T20:59:07.000Z","updated_at":"2025-04-28T23:35:49.000Z","dependencies_parsed_at":"2024-11-19T11:57:29.558Z","dependency_job_id":null,"html_url":"https://github.com/Clancey/SimpleDatabase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Clancey/SimpleDatabase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clancey%2FSimpleDatabase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clancey%2FSimpleDatabase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clancey%2FSimpleDatabase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clancey%2FSimpleDatabase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clancey","download_url":"https://codeload.github.com/Clancey/SimpleDatabase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clancey%2FSimpleDatabase/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266680238,"owners_count":23967791,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["database","sqlite-orm"],"created_at":"2024-11-19T11:26:55.446Z","updated_at":"2025-07-23T12:33:56.812Z","avatar_url":"https://github.com/Clancey.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple Database\n================\n\nCreating fast, responsive and grouped Tableviews is hard. Espcially with very large data sets.  Simple Database takes care of this for you by extending [SQLite-net](https://github.com/praeclarum/sqlite-net)\n\nAvailable on Nuget\n================\n\nhttps://www.nuget.org/packages/Clancey.SimpleDatabase/\n\n\nAPI\n================\n\nSimple tables gives you the interface you need to populate a ListView\n\n```cs\nDatabase.Main.RowsInSection\u003cT\u003e(section);\n\nDatabase.Main.NumberOfSections\u003cT\u003e();\n\nDatabase.Main.ObjectForRow\u003cT\u003e(section, row);\n\nDatabase.Main.SectionHeader\u003cT\u003e(section);\n\nDatabase.Main.QuickJump\u003cT\u003e();\n\n```\n\nModel Attributes\n===\nAdd attributes for OrderBy and Grouping\n\n```cs\n\nclass MyClass\n{\n\t[Indexed, PrimaryKey]\n\tpublic string Id {get;set;}\n\n\t//Typically this is just one letter, and the first letter of the displayed text\n\t[GroupBy]\n\tpublic virtual string IndexCharacter {get;set;}\n\n\t[OrderBy]\n\tpublic string Name {get;set;}\n}\n```\n\n\nGroupInfo\n================\n\nSometimes you need to filter or Add dynamically compose a query. Simple Auth uses named parameters\n\n```cs\nvar artist = new { Id = \"Foo\"};\nvar group = Database.Main.GetGroupInfo\u003cSong\u003e().Clone();\ngroup.Filter = \"ArtistId = @ArtistId\";\ngroup.Params[\"@ArtistId\"] = artist.Id;\n\nDatabase.Main.RowsInSection\u003cSong\u003e(group , section);\n\n```\n\n#Open Source Software\nThis project was built on the shoulders of giants!\n\n- [SQLite-net](https://github.com/praeclarum/sqlite-net)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclancey%2Fsimpledatabase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclancey%2Fsimpledatabase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclancey%2Fsimpledatabase/lists"}