Enum Class SqlMethod
- All Implemented Interfaces:
Serializable,Comparable<SqlMethod>,Constable
MybatisPlus 支持 SQL 方法
- Since:
- 2016-01-23
- Author:
- hubin
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.删除Deprecated.插入Deprecated.3.5.7LOGIC_DELETE_BY_IDS逻辑删除逻辑删除 -> 修改Deprecated.3.5.8SELECT_BY_IDS查询Deprecated.Deprecated.Deprecated.Deprecated.修改 -
Method Summary
Modifier and TypeMethodDescription<A,B> String format(A a, B b) <A,B, C> String format(A a, B b, C c) <A,B, C, D>
Stringformat(A a, B b, C c, D d) <A,B, C, D, E>
Stringformat(A a, B b, C c, D d, E e) <A,B, C, D, E, F>
Stringformat(A a, B b, C c, D d, E e, F f) getDesc()static SqlMethodReturns the enum constant of this class with the specified name.static SqlMethod[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSERT_ONE
插入 -
UPSERT_ONE
-
DELETE_BY_ID
删除 -
DELETE_BY_MAP
Deprecated. -
DELETE
-
DELETE_BATCH_BY_IDS
Deprecated.3.5.7DELETE_BY_IDS -
DELETE_BY_IDS
- Since:
- 3.5.7
-
LOGIC_DELETE_BY_ID
逻辑删除 -
LOGIC_DELETE_BY_MAP
-
LOGIC_DELETE
-
LOGIC_DELETE_BATCH_BY_IDS
Deprecated.3.5.7LOGIC_DELETE_BY_IDS -
LOGIC_DELETE_BY_IDS
- Since:
- 3.5.7
-
UPDATE_BY_ID
修改 -
UPDATE
-
LOGIC_UPDATE_BY_ID
逻辑删除 -> 修改 -
SELECT_BY_ID
查询 -
SELECT_BY_MAP
Deprecated. -
SELECT_BATCH_BY_IDS
Deprecated.3.5.8SELECT_BY_IDS -
SELECT_BY_IDS
- Since:
- 3.5.8
-
SELECT_ONE
Deprecated. -
SELECT_COUNT
-
SELECT_LIST
-
SELECT_PAGE
Deprecated. -
SELECT_MAPS
-
SELECT_MAPS_PAGE
Deprecated. -
SELECT_OBJS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
format
-
format
-
format
-
format
-
format
-
getMethod
-
getDesc
-
getSqlTemplate
-
DELETE_BY_IDS