Trait rbatis::plugin::version_lock::VersionLockPlugin [−][src]
Required methods
fn is_allow(&self, context_id: &str) -> bool
[src]
fn column(&self) -> &str
[src]
database column must be i32 or i64 or time column!
Provided methods
fn name(&self) -> &str
[src]
the name
fn try_add_one(
&self,
context_id: &str,
old_value: &Value,
column: &str
) -> Value
[src]
&self,
context_id: &str,
old_value: &Value,
column: &str
) -> Value
set value = value + 1, support number and string value