MCPcopy Create free account
hub / github.com/corestoreio/pkg / SQLIfNull

Function SQLIfNull

sql/dml/expression.go:45–50  ·  view source on GitHub ↗

SQLIfNull creates an IFNULL expression. Argument count can be either 1, 2 or 4. A single expression can contain a qualified or unqualified identifier. See the examples. IFNULL(expr1,expr2) If expr1 is not NULL, IFNULL() returns expr1; otherwise it returns expr2. IFNULL() returns a numeric or string

(expression ...string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

BenchmarkIfNullFunction · 0.85

Calls 1

sqlIfNullFunction · 0.85

Tested by 1

BenchmarkIfNullFunction · 0.68