MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / HasPlaceholders

Method HasPlaceholders

pkg/sql/sem/tree/eval.go:2983–2985  ·  view source on GitHub ↗

GetClusterTimestamp retrieves the current cluster timestamp as per the evaluation context. The timestamp is guaranteed to be nonzero. func (ctx *EvalContext) GetClusterTimestamp() *DDecimal { ts := ctx.Txn.CommitTimestamp() if ts == (hlc.Timestamp{}) { panic(errors.AssertionFailedf("zero cluste

()

Source from the content-addressed store, hash-verified

2981// HasPlaceholders returns true if this EvalContext's placeholders have been
2982// assigned. Will be false during Prepare.
2983func (ctx *EvalContext) HasPlaceholders() bool {
2984 return ctx.Placeholders != nil
2985}
2986
2987// TimestampToDecimal converts the logical timestamp into a decimal
2988// value with the number of nanoseconds in the integer part and the

Callers 3

isVarFunction · 0.80
UnwrapDatumFunction · 0.80
EvalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected