MCPcopy
hub / github.com/ent/ent / False

Function False

dialect/sql/builder.go:786–788  ·  view source on GitHub ↗

False appends the FALSE keyword to the predicate. Delete().From("users").Where(False())

()

Source from the content-addressed store, hash-verified

784//
785// Delete().From("users").Where(False())
786func False() *Predicate {
787 return P().False()
788}
789
790// False appends FALSE to the predicate.
791func (p *Predicate) False() *Predicate {

Callers 1

TestBuilderFunction · 0.85

Calls 2

FalseMethod · 0.80
PFunction · 0.70

Tested by 1

TestBuilderFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…