# crud2 **Repository Path**: crud2/crud2 ## Basic Information - **Project Name**: crud2 - **Description**: A not only ORM framework based on MyBatis - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-11-21 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CRUD2 project A not only ORM framework based on mybatis ## ntroduce - A simpler method is provided to realize the operation of query, insert, delete and update. - The goal of the project is to simplify the process complexity. Programmers focus on business and data model design, free from object-oriented programming and multiple design patterns. # Features # Getting started > it is recommended to use spring boot starter to introduce ### Maven dependency ``` xml org.crud2.spring.boot crud2-spring-boot-starter 0.0.1 ``` ### Query #### basic use ```java CRUD.query() .from(String tableName) .select(String ... fields) .pageSizeIndex(int pageSize,pageIndex) .where(String fieldName,String oper,Object value) .queryMapPager() ``` #### page params ```java query.pageSizeIndex(int pageSize,int pageIndex) query.pageOffsetLimit(int offset,int limit) ``` ### query result by default,query can return a map or a arraylist data. You can customize the keyname of the returned map, by default, the keyname will be converted to lowercase(LowerCaseMapResultKeyNameResolver) ```java query.queryMapPager() // return a List> query.queryArraylistPager() ``` #### Whwere condition ### Insert ### Update ### Delete # Auto Engine # License CRUD2 is under the Apache 2.0 license. See the LICENSE file for details. **important** : This project is not completed, please do not use it in the production environment