MCPcopy
hub / github.com/ent/ent / Fielder

Interface Fielder

entql/types.go:18–20  ·  view source on GitHub ↗

go:generate go run internal/gen.go Fielder is the interface for creating a predicate (entql.P) by a field name from the different builder types below.

Source from the content-addressed store, hash-verified

16// Fielder is the interface for creating a predicate (entql.P)
17// by a field name from the different builder types below.
18type Fielder interface {
19 Field(string) P
20}
21
22// BoolP is the interface for predicates of type bool (`type P[bool]`).
23type BoolP interface {

Callers 8

TestFielderFunction · 0.65
BoolOrFunction · 0.65
BoolAndFunction · 0.65
BoolNotFunction · 0.65
BytesOrFunction · 0.65
BytesAndFunction · 0.65
BytesNotFunction · 0.65
TimeOrFunction · 0.65

Implementers 15

boolPentql/types.go
bytesPentql/types.go
timePentql/types.go
uintPentql/types.go
uint8Pentql/types.go
uint16Pentql/types.go
uint32Pentql/types.go
uint64Pentql/types.go
intPentql/types.go
int8Pentql/types.go
int16Pentql/types.go
int32Pentql/types.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…