-
- All Implemented Interfaces:
public final class ConnectionUpdateKt
-
-
Method Summary
Modifier and Type Method Description final static Integerupdate(Connection $self, KClass<?> cls, List<Pair<KProperty<?>, Object>> map, Where w)final static Integerupdate(Connection $self, String tableName, List<Pair<String, Object>> values, Where w)final static IntegerdropTable(Connection $self, String tableName)Created by entaoyang@163.com on 2017/4/5. final static IntegercreateTable(Connection $self, String tableName, List<String> columns, Map<String, String> options)final static UnitcreateIndex(Connection $self, String tableName, String columnName)final static Integerdelete(Connection $self, KClass<?> cls, Where w)final static Integerdelete(Connection $self, String tableName, Where w)final static IntegerupdateByKey(Connection $self, OrmModel model, List<KMutableProperty<?>> ps)-
-
Method Detail
-
update
final static Integer update(Connection $self, KClass<?> cls, List<Pair<KProperty<?>, Object>> map, Where w)
-
update
final static Integer update(Connection $self, String tableName, List<Pair<String, Object>> values, Where w)
-
dropTable
final static Integer dropTable(Connection $self, String tableName)
Created by entaoyang@163.com on 2017/4/5.
-
createTable
final static Integer createTable(Connection $self, String tableName, List<String> columns, Map<String, String> options)
-
createIndex
final static Unit createIndex(Connection $self, String tableName, String columnName)
-
delete
final static Integer delete(Connection $self, KClass<?> cls, Where w)
-
delete
final static Integer delete(Connection $self, String tableName, Where w)
-
updateByKey
final static Integer updateByKey(Connection $self, OrmModel model, List<KMutableProperty<?>> ps)
-
-
-
-