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

Method IsImpure

pkg/sql/sem/tree/expr.go:1319–1321  ·  view source on GitHub ↗

IsImpure returns whether the function application is impure, meaning that it potentially returns a different value when called in the same statement with the same parameters.

()

Source from the content-addressed store, hash-verified

1317// potentially returns a different value when called in the same statement with
1318// the same parameters.
1319func (node *FuncExpr) IsImpure() bool {
1320 return node.fnProps != nil && node.fnProps.Impure
1321}
1322
1323// IsDistSQLBlacklist returns whether the function is not supported by DistSQL.
1324func (node *FuncExpr) IsDistSQLBlacklist() bool {

Callers 2

VisitPreMethod · 0.80
VisitPreMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected