[−][src]Trait rbatis::interpreter::sql::ast::RbatisAST
Abstract syntax tree node
Required methods
pub fn name() -> &'static str where
Self: Sized,
[src]
Self: Sized,
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_result: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_result: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
Implementors
impl RbatisAST for BindNode
[src]
pub fn name() -> &'static str
[src]
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
impl RbatisAST for ChooseNode
[src]
pub fn name() -> &'static str
[src]
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
impl RbatisAST for ForEachNode
[src]
pub fn name() -> &'static str
[src]
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
impl RbatisAST for IfNode
[src]
pub fn name() -> &'static str
[src]
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
impl RbatisAST for OtherwiseNode
[src]
pub fn name() -> &'static str
[src]
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
impl RbatisAST for PrintNode
[src]
pub fn name() -> &'static str
[src]
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
impl RbatisAST for ProxyNode
[src]
pub fn name() -> &'static str where
Self: Sized,
[src]
Self: Sized,
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
impl RbatisAST for SetNode
[src]
pub fn name() -> &'static str
[src]
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
impl RbatisAST for StringNode
[src]
pub fn name() -> &'static str
[src]
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
impl RbatisAST for TrimNode
[src]
pub fn name() -> &'static str
[src]
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
impl RbatisAST for WhenNode
[src]
pub fn name() -> &'static str
[src]
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
impl RbatisAST for WhereNode
[src]
pub fn name() -> &'static str
[src]
pub fn eval(
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>
[src]
&self,
convert: &DriverType,
env: &mut Value,
engine: &ExprRuntime,
arg_array: &mut Vec<Value>,
arg_sql: &mut String
) -> Result<Value, Error>