Git Product home page Git Product logo

Comments (7)

TommyLemon avatar TommyLemon commented on April 28, 2024

请问你想要支持哪种呢?目前PostgreSQL发展很猛,有支持的打算

from apijson.

TommyLemon avatar TommyLemon commented on April 28, 2024

应该不会太麻烦,毕竟只要增加一个针对它的SQLConfig,来把JSON转换为SQL就行
这个是针对MySQL的
https://github.com/TommyLemon/APIJSON/blob/master/APIJSON-Java-Server/APIJSONLibrary/src/main/java/zuo/biao/apijson/server/AbstractSQLConfig.java

from apijson.

mylike avatar mylike commented on April 28, 2024

推荐使用Nutz的dao或其它将sql封装,实现数据查询,这样天然就支持了各种数据库

from apijson.

TommyLemon avatar TommyLemon commented on April 28, 2024

@mylike 用Java静态代码封装SQL的库,对于APIJSON来说,灵活性都不够,
mysql_fdw
或许能用在这方面

from apijson.

TommyLemon avatar TommyLemon commented on April 28, 2024

Java版Server已支持 PostgreSQL,可通过 "@database": "POSTGRESQL" 指定数据库类型。
https://github.com/TommyLemon/APIJSON/tree/master/APIJSON-Java-Server

C#版(使用SqlSuger)支持 MySQL, Oracle, MS SQL Server, PostgreSQL, SQLite
https://github.com/liaozb/APIJSON.NET

感谢支持,给热心的作者点Star支持下吧^_^

from apijson.

TommyLemon avatar TommyLemon commented on April 28, 2024

@squallliu @mylike Java版Server已支持 Oracle,提供了 APIJSONBootOracle 工程作为 Demo
https://github.com/APIJSON/APIJSON/tree/master/APIJSON-Java-Server

from apijson.

TommyLemon avatar TommyLemon commented on April 28, 2024

@squallliu @mylike 已支持 MySQL 5.7+, PostgreSQL 9.5+, MS SQLServer 2012+, Oracle 12C+, IBM DB2 7.1+, TiDB 2.1+, ClickHouse 21.1+, Hive 3.1.2+, Hadoop 3.1.3+
理论上所有支持 SQL 与 JDBC/ODBC 的软件,都可以用本项目对接 CRUD,待测试:
Elasticsearch, OceanBase, Presto, Spark,Phoenix(延伸支持 HBase), Presto/Trino(延伸支持 Redis, Hive, Kafka, Elasticsearch, Thrift, Cassandra, MySQL, PostgreSQL, Oracle, MongoDB...)

最新版 5.0.0

增强各种功能;腾讯负责人公开称赞;登记万科发起的采筑电商
https://github.com/Tencent/APIJSON/releases/tag/5.0.0

from apijson.

Related Issues (20)

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.