MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / div

Method div

src/transform/src/analysis.rs:1539–1545  ·  view source on GitHub ↗
(self, rhs: Self)

Source from the content-addressed store, hash-verified

1537 type Output = CardinalityEstimate;
1538
1539 fn div(self, rhs: Self) -> Self::Output {
1540 use CardinalityEstimate::*;
1541 match (self, rhs) {
1542 (Estimate(lhs), Estimate(rhs)) => Estimate(lhs / rhs),
1543 _ => Unknown,
1544 }
1545 }
1546 }
1547
1548 impl std::ops::Div<f64> for CardinalityEstimate {

Callers 6

plotFunction · 0.80
div_numericFunction · 0.80
log_base_numericFunction · 0.80
pg_size_prettyFunction · 0.80
decimalFunction · 0.80
readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected