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

Method SQLString

coderd/rbac/regosql/sqltypes/parens.go:29–31  ·  view source on GitHub ↗
(cfg *SQLGenerator)

Source from the content-addressed store, hash-verified

27func (astParenthesis) IsBooleanNode() {}
28func (p astParenthesis) UseAs() Node { return p.Value.UseAs() }
29func (p astParenthesis) SQLString(cfg *SQLGenerator) string {
30 return "(" + p.Value.SQLString(cfg) + ")"
31}
32
33func (p astParenthesis) EqualsSQLString(cfg *SQLGenerator, not bool, other Node) (string, error) {
34 if supp, ok := p.Value.(SupportsEquality); ok {

Callers

nothing calls this directly

Calls 1

SQLStringMethod · 0.65

Tested by

no test coverage detected