MCPcopy
hub / github.com/andeya/pholcus / Operator

Interface Operator

common/mgo/operator.go:32–34  ·  view source on GitHub ↗

Operator defines the interface for CRUD operations.

Source from the content-addressed store, hash-verified

30
31// Operator defines the interface for CRUD operations.
32type Operator interface {
33 Exec(resultPtr interface{}) result.Result[any]
34}
35
36// getOperator returns the Operator for the given operation name.
37func getOperator(operate string) Operator {

Callers 4

MgoFunction · 0.65
CreateMethod · 0.65
TruncateMethod · 0.65
FlushInsertMethod · 0.65

Implementers 8

Upsertcommon/mgo/upsert.go
Findcommon/mgo/find.go
Countcommon/mgo/count.go
Updatecommon/mgo/update.go
Removecommon/mgo/remove.go
Insertcommon/mgo/insert.go
UpdateAllcommon/mgo/update_all.go
Listcommon/mgo/list.go

Calls

no outgoing calls

Tested by

no test coverage detected