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

Method int

libs/@local/hashql/eval/src/postgres/parameters.rs:194–196  ·  view source on GitHub ↗
(&mut self, value: Int)

Source from the content-addressed store, hash-verified

192 }
193
194 pub(crate) fn int(&mut self, value: Int) -> Parameter {
195 self.get_or_insert(ParameterValue::Int(value))
196 }
197
198 pub(crate) fn primitive(&mut self, primitive: Primitive<'heap>) -> Parameter {
199 self.get_or_insert(ParameterValue::Primitive(primitive))

Callers 7

randIntFunction · 0.80
int_dedupFunction · 0.80
compile_constantMethod · 0.80
action-schemas.tsFile · 0.80
types.tsFile · 0.80
types.tsFile · 0.80

Calls 2

IntClass · 0.85
get_or_insertMethod · 0.45

Tested by 1

int_dedupFunction · 0.64