Git Product home page Git Product logo

sqless's Introduction

详细介绍请查看文档: https://sqless.hal.wang

一个客户端安全操作数据库的解决方案

  • 高效: Sqless 使客户端能够安全地操作数据库,而不必在编写客户端同时编写 API。全栈程序员福利!
  • 安全:严格的权限控制允许用户读写特定内容,而不必担心数据库安全性。
  • 简单:无需 SQL 语句,配置简单。CS 架构只需要简单的配置 WebAPI 。

示例

SELECT

var request = new SqlessSelectRequest()
{
    Table = "User",
    Fields = new List<SqlessField>()
    {
        new SqlessField() { Field = "Uid" },
        new SqlessField() { Field = "Name" }
    }
};

var conStr = "Data Source=.;Initial Catalog=StoreTest;User ID=sa;Password=123456";
using Sqless sqless = new Sqless(SqlessConfig.GetAllowUnspecifiedConfig(conStr));
List<User> users = await sqless.Select<User>(request);

sqless's People

Contributors

hal-wang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.