pub trait RbatisAST:
Send
+ Sync
+ Debug {
// Required methods
fn name() -> &'static str
where Self: Sized;
fn eval(
&self,
convert: &dyn StringConvert,
env: &mut Value,
engine: &RExprRuntime,
arg_result: &mut Vec<Value>,
arg_sql: &mut String,
) -> Result<Value, Error>;
}Expand description
Abstract syntax tree node