rbatis_codegen/codegen/syntax_tree_pysql/foreach_node.rs
1use crate::codegen::syntax_tree_pysql::{Name, NodeType};
2
3#[derive(Clone, Debug, Eq, PartialEq)]
4pub struct ForEachNode {
5 pub childs: Vec<NodeType>,
6 pub collection: String,
7 pub index: String,
8 pub item: String,
9}
10
11impl Name for ForEachNode {
12 fn name() -> &'static str {
13 "for"
14 }
15}