MCPcopy Index your code
hub / github.com/coder/coder / equalsOp

Function equalsOp

coderd/rbac/regosql/sqltypes/equality.go:91–96  ·  view source on GitHub ↗

nolint:revive

(not bool)

Source from the content-addressed store, hash-verified

89
90// nolint:revive
91func equalsOp(not bool) string {
92 if not {
93 return "!="
94 }
95 return "="
96}
97
98func basicSQLEquality(cfg *SQLGenerator, not bool, a, b Node) string {
99 return fmt.Sprintf("%s %s %s",

Callers 8

EqualsSQLStringMethod · 0.85
EqualsSQLStringMethod · 0.85
SQLStringMethod · 0.85
boolEqualsSQLStringFunction · 0.85
basicSQLEqualityFunction · 0.85
EqualsSQLStringMethod · 0.85
EqualsSQLStringMethod · 0.85
EqualsSQLStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected