MCPcopy Create free account
hub / github.com/Masterminds/structable / ExistsWhere

Method ExistsWhere

structable.go:245–245  ·  view source on GitHub ↗

ExistsWhere verifies that a thing exists and is of the expected type. It takes a WHERE clause, and it needs to gaurantee that at least one record matches. It need not assure that *only* one item exists.

(interface{}, ...interface{})

Source from the content-addressed store, hash-verified

243 // It takes a WHERE clause, and it needs to gaurantee that at least one
244 // record matches. It need not assure that *only* one item exists.
245 ExistsWhere(interface{}, ...interface{}) (bool, error)
246}
247
248// Implements the Recorder interface, and stores data in a DB.

Callers 1

Implementers 1

DbRecorderstructable.go

Calls

no outgoing calls

Tested by 1