MCPcopy Create free account
hub / github.com/TankHQ/tank / write_query

Method write_query

tank-core/src/expression/binary_op.rs:63–73  ·  view source on GitHub ↗
(&self, writer: &dyn SqlWriter, context: &mut Context, out: &mut DynQuery)

Source from the content-addressed store, hash-verified

61
62impl<L: Expression, R: Expression> Expression for BinaryOp<L, R> {
63 fn write_query(&self, writer: &dyn SqlWriter, context: &mut Context, out: &mut DynQuery) {
64 writer.write_binary_op(
65 context,
66 out,
67 &BinaryOp {
68 op: self.op,
69 lhs: &self.lhs,
70 rhs: &self.rhs,
71 },
72 )
73 }
74 fn accept_visitor(
75 &self,
76 matcher: &mut dyn ExpressionVisitor,

Callers 1

as_identifierMethod · 0.45

Calls 1

write_binary_opMethod · 0.45

Tested by

no test coverage detected