{"id":20184829,"url":"https://github.com/hal-wang/sqless","last_synced_at":"2025-09-07T07:10:28.000Z","repository":{"id":65908209,"uuid":"290102754","full_name":"hal-wang/Sqless","owner":"hal-wang","description":"一个客户端安全操作数据库的解决方案。全栈开发者福利！","archived":false,"fork":false,"pushed_at":"2022-07-04T09:27:50.000Z","size":1065,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-05T19:14:43.132Z","etag":null,"topics":["asp-net-core","cs","csharp","mssql","mvc","sql","sqless","sqlserver","webapi","wpf"],"latest_commit_sha":null,"homepage":"https://sqless.hal.wang","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hal-wang.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}},"created_at":"2020-08-25T03:27:44.000Z","updated_at":"2024-02-06T08:00:17.000Z","dependencies_parsed_at":"2023-02-15T16:50:14.189Z","dependency_job_id":null,"html_url":"https://github.com/hal-wang/Sqless","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hal-wang/Sqless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal-wang%2FSqless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal-wang%2FSqless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal-wang%2FSqless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal-wang%2FSqless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hal-wang","download_url":"https://codeload.github.com/hal-wang/Sqless/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal-wang%2FSqless/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274006235,"owners_count":25206104,"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-07T02:00:09.463Z","response_time":67,"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":["asp-net-core","cs","csharp","mssql","mvc","sql","sqless","sqlserver","webapi","wpf"],"created_at":"2024-11-14T03:09:20.875Z","updated_at":"2025-09-07T07:10:27.966Z","avatar_url":"https://github.com/hal-wang.png","language":"C#","readme":"_详细介绍请查看文档： \u003chttps://sqless.hal.wang\u003e_\n\n**一个客户端安全操作数据库的解决方案**\n\n- 高效： Sqless 使客户端能够安全地操作数据库，而不必在编写客户端同时编写 API。全栈程序员福利！\n- 安全：严格的权限控制允许用户读写特定内容，而不必担心数据库安全性。\n- 简单：无需 SQL 语句，配置简单。CS 架构只需要简单的配置 WebAPI 。\n\n### 示例\n\n_SELECT_\n\n```CSharp\nvar request = new SqlessSelectRequest()\n{\n    Table = \"User\",\n    Fields = new List\u003cSqlessField\u003e()\n    {\n        new SqlessField() { Field = \"Uid\" },\n        new SqlessField() { Field = \"Name\" }\n    }\n};\n\nvar conStr = \"Data Source=.;Initial Catalog=StoreTest;User ID=sa;Password=123456\";\nusing Sqless sqless = new Sqless(SqlessConfig.GetAllowUnspecifiedConfig(conStr));\nList\u003cUser\u003e users = await sqless.Select\u003cUser\u003e(request);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhal-wang%2Fsqless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhal-wang%2Fsqless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhal-wang%2Fsqless/lists"}