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

Struct astStringVar

coderd/rbac/regosql/sqltypes/variable.go:76–80  ·  view source on GitHub ↗

astStringVar is any variable that represents a string.

Source from the content-addressed store, hash-verified

74
75// astStringVar is any variable that represents a string.
76type astStringVar struct {
77 Source RegoSource
78 FieldPath []string
79 ColumnString string
80}
81
82func StringVarMatcher(sqlString string, regoPath []string) VariableMatcher {
83 return astStringVar{FieldPath: regoPath, ColumnString: sqlString}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected