MCPcopy Create free account
hub / github.com/PRQL/prql / right_associative

Method right_associative

prqlc/prqlc/src/sql/gen_expr.rs:1051–1053  ·  view source on GitHub ↗

Returns true iff `a + b + c = a + (b + c)`

(&self)

Source from the content-addressed store, hash-verified

1049
1050 /// Returns true iff `a + b + c = a + (b + c)`
1051 fn right_associative(&self) -> bool {
1052 matches!(self, Associativity::Right | Associativity::Both)
1053 }
1054}
1055
1056trait SQLExpression {

Callers 1

needs_parenthesesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected