MCPcopy Index your code
hub / github.com/Masterminds/structable / Exists

Method Exists

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

Exists verifies that a thing exists and is of this type. This uses the PRIMARY_KEY to verify that a record exists.

()

Source from the content-addressed store, hash-verified

239 // Exists verifies that a thing exists and is of this type.
240 // This uses the PRIMARY_KEY to verify that a record exists.
241 Exists() (bool, error)
242 // ExistsWhere verifies that a thing exists and is of the expected type.
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.

Callers 4

ExistsMethod · 0.65
TestExistsFunction · 0.65
TestPlainStructExistsFunction · 0.65
HasMethod · 0.65

Implementers 1

DbRecorderstructable.go

Calls

no outgoing calls

Tested by 3

ExistsMethod · 0.52
TestExistsFunction · 0.52
TestPlainStructExistsFunction · 0.52