MCPcopy Create free account
hub / github.com/hashintel/hash / to_expr

Method to_expr

libs/@local/hashql/eval/src/postgres/parameters.rs:76–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74impl Parameter {
75 #[must_use]
76 pub fn to_expr(self) -> Expression {
77 Expression::Cast(Box::new(self.index.into()), PostgresType::from(self.kind))
78 }
79}
80
81/// Interned identity for a SQL parameter.

Callers 7

compile_place_envMethod · 0.80
compile_placeMethod · 0.80
compile_constantMethod · 0.80
compile_inputMethod · 0.80
compile_aggregateMethod · 0.80

Calls 1

fromFunction · 0.50

Tested by

no test coverage detected