mirror of
https://github.com/ent/ent.git
synced 2026-05-22 09:31:45 +03:00
ent: export query interceptors (#3157)
This commit is contained in:
@@ -1762,7 +1762,7 @@ func (p *Predicate) Contains(col, substr string) *Predicate {
|
||||
return p.escapedLike(col, "%", "%", substr)
|
||||
}
|
||||
|
||||
// ContainsFold is a helper predicate that checks substring using the LIKE predicate.
|
||||
// ContainsFold is a helper predicate that checks substring using the LIKE predicate with case-folding.
|
||||
func ContainsFold(col, sub string) *Predicate { return P().ContainsFold(col, sub) }
|
||||
|
||||
// ContainsFold is a helper predicate that applies the LIKE predicate with case-folding.
|
||||
|
||||
Reference in New Issue
Block a user