public interface DbSingleOperator<K>
Modifier and Type | Method and Description |
---|---|
int |
delete(Bean bean) |
int |
deleteById(K beanId,
String beanType) |
Bean |
getBean(K beanId,
String beanType) |
Bean |
insert(Bean bean) |
int |
update(Bean bean) |
int |
update(Bean bean,
List<String> conditionColumns) |
Bean insert(Bean bean) throws TinyDbException
TinyDbException
int update(Bean bean) throws TinyDbException
TinyDbException
int update(Bean bean, List<String> conditionColumns) throws TinyDbException
bean
- bean对象conditionColumns
- 条件字段- 数据库字段大写名称的列表集合TinyDbException
int delete(Bean bean) throws TinyDbException
TinyDbException
Bean getBean(K beanId, String beanType) throws TinyDbException
TinyDbException
int deleteById(K beanId, String beanType) throws TinyDbException
TinyDbException
Copyright © 2006–2018 TinyGroup. All rights reserved.