{"repo":"doytowin/doyto-query","free":true,"listed":false,"github":"https://github.com/doytowin/doyto-query","clone":"git clone https://github.com/doytowin/doyto-query.git","description":"DoytoQuery - A Dynamic Query Language Implemented in Java for Database Access","language":"Java","stars":50,"topics":["java","orm","crud","sql","oqm","ddd"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"DoytoQuery - A Dynamic Query Language Implemented in Java for CRUD --- Introduction DoytoQuery implements a dynamic query language which generates query statements from objects. Entity/view objects are used to generate table names and columns, while query/having objects are used to dynamically generate query conditions. Each field defined in the query object is used to represent a query condition. When executing query, the query condition corresponding to the assigned field will be combined into the query clause, thereby completing the dynamic construction of SQL statements with entity/view objects. Refer to the docs for more details. Quick Start 1. Initialize the project on Spring Initializer with the following 4 dependencies: Lombok Spring Web Validation \\[A database driver] 2. Add DoytoQuery dependencies in pom.xml: 3. Define entity and query objects for a table: Invoking the method DataAccess#query(Q) in UserService : Define a controller to support RESTful API: Set the log level of logging.level.org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping to trace , and after starting the Spring Boot application, you can see in the console that the RESTful interface is ready for /user/ : Refer to the demo for more details. Architecture for 0.3.x and newer Versions Module Snapshot Release ------------------------ --------------------------------------------------------------------------------------------------------------------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/doytowin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/doytowin/doyto-query/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}