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
TinyDbExceptionint update(Bean bean) throws TinyDbException
TinyDbExceptionint update(Bean bean, List<String> conditionColumns) throws TinyDbException
bean - bean对象conditionColumns - 条件字段- 数据库字段大写名称的列表集合TinyDbExceptionint delete(Bean bean) throws TinyDbException
TinyDbExceptionBean getBean(K beanId, String beanType) throws TinyDbException
TinyDbExceptionint deleteById(K beanId, String beanType) throws TinyDbException
TinyDbExceptionCopyright © 2006–2018 TinyGroup. All rights reserved.