Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ent/ent
/ isModifier
Function
isModifier
dialect/sql/builder.go:3511–3518 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
3509
}
3510
3511
func
isModifier(s string) bool {
3512
for
_, m :=
range
[...]string{
"DISTINCT"
,
"ALL"
,
"WITH ROLLUP"
} {
3513
if
strings.HasPrefix(s, m) {
3514
return
true
3515
}
3516
}
3517
return
false
3518
}
Callers
1
Ident
Method · 0.85
Calls
1
HasPrefix
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…