ExactMatchForTypes returns the function that exactly matches the given parameter types, or nil if no overload with those types exists.
(types ...*pgtypes.DoltgresType)
| 159 | // ExactMatchForTypes returns the function that exactly matches the given parameter types, or nil if no overload with |
| 160 | // those types exists. |
| 161 | func (o *Overloads) ExactMatchForTypes(types ...*pgtypes.DoltgresType) (FunctionInterface, bool) { |
| 162 | key := keyForParamTypes(types) |
| 163 | fn, ok := o.ByParamType[key] |
| 164 | return fn, ok |
| 165 | } |
| 166 | |
| 167 | // Overload is a single overload of a given function, used during evaluation to match the arguments provided |
| 168 | // to a particular overload. |
no test coverage detected