public static class IOrmPersistent.DefaultImpls
ORM之持久化,主要是负责数据库的增删改查
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
afterCreate(IOrmPersistent $this)
处理create后置事件
|
static void |
afterDelete(IOrmPersistent $this)
处理delete后置事件
|
static void |
afterSave(IOrmPersistent $this)
处理save后置事件
|
static void |
afterUpdate(IOrmPersistent $this)
处理update后置事件
|
static void |
beforeCreate(IOrmPersistent $this)
处理create前置事件
|
static void |
beforeDelete(IOrmPersistent $this)
处理delete前置事件
|
static void |
beforeSave(IOrmPersistent $this)
处理save前置事件
|
static void |
beforeUpdate(IOrmPersistent $this)
处理update前置事件
|
static java.lang.Object |
getOrPut(IOrmPersistent $this,
java.lang.String key,
kotlin.jvm.functions.Function0<? extends java.lang.Object> defaultValue) |
static boolean |
save(IOrmPersistent $this)
保存数据
|
public static boolean save(IOrmPersistent $this)
保存数据
public static void beforeCreate(IOrmPersistent $this)
处理create前置事件
public static void afterCreate(IOrmPersistent $this)
处理create后置事件
public static void beforeUpdate(IOrmPersistent $this)
处理update前置事件
public static void afterUpdate(IOrmPersistent $this)
处理update后置事件
public static void beforeSave(IOrmPersistent $this)
处理save前置事件
public static void afterSave(IOrmPersistent $this)
处理save后置事件
public static void beforeDelete(IOrmPersistent $this)
处理delete前置事件
public static void afterDelete(IOrmPersistent $this)
处理delete后置事件
public static java.lang.Object getOrPut(IOrmPersistent $this, java.lang.String key, kotlin.jvm.functions.Function0<? extends java.lang.Object> defaultValue)