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

Method SQLString

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

Source from the content-addressed store, hash-verified

6
7type Node interface {
8 SQLString(cfg *SQLGenerator) string
9 // UseAs is a helper function to allow a node to be used as a different
10 // Node in operators. For example, a variable is really just a "string", so
11 // having the Equality operator check for "String" or "StringVar" is just

Callers 11

SQLStringMethod · 0.65
ContainsSQLMethod · 0.65
requireConvertFunction · 0.65
ContainsSQLMethod · 0.65
SQLStringMethod · 0.65
boolEqualsSQLStringFunction · 0.65
basicSQLEqualityFunction · 0.65
TestEqualityFunction · 0.65
SQLStringMethod · 0.65
TestMembershipFunction · 0.65
SQLStringMethod · 0.65

Implementers 13

ACLMappingVarcoderd/rbac/regosql/acl_mapping_var.go
AstBooleancoderd/rbac/regosql/sqltypes/bool.go
AstNumbercoderd/rbac/regosql/sqltypes/number.go
invalidNodecoderd/rbac/regosql/sqltypes/node.go
ASTArraycoderd/rbac/regosql/sqltypes/array.go
AstStringcoderd/rbac/regosql/sqltypes/string.go
memberOfcoderd/rbac/regosql/sqltypes/member.go
equalitycoderd/rbac/regosql/sqltypes/equality.
astParenthesiscoderd/rbac/regosql/sqltypes/parens.go
astStringVarcoderd/rbac/regosql/sqltypes/variable.
alwaysFalsecoderd/rbac/regosql/sqltypes/always_fa
astUUIDVarcoderd/rbac/regosql/sqltypes/uuid.go

Calls

no outgoing calls

Tested by 3

requireConvertFunction · 0.52
TestEqualityFunction · 0.52
TestMembershipFunction · 0.52