MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / Signature

Method Signature

pkg/sql/sem/tree/overload.go:374–376  ·  view source on GitHub ↗

Signature returns a human-readable signature. If simplify is bool, tuple-returning functions with just 1 tuple element unwrap the return type in the signature.

(simplify bool)

Source from the content-addressed store, hash-verified

372// If simplify is bool, tuple-returning functions with just
373// 1 tuple element unwrap the return type in the signature.
374func (b Overload) Signature(simplify bool) string {
375 return b.SignatureWithDefaults(simplify, false /* includeDefault */)
376}
377
378// SignatureWithDefaults is the same as Signature but also allows specifying
379// whether DEFAULT expressions should be included.

Callers 1

helpWithFunctionFunction · 0.80

Calls 1

SignatureWithDefaultsMethod · 0.95

Tested by

no test coverage detected