MCPcopy Create free account
hub / github.com/cloudwan/gohan / Delete

Method Delete

db/sql/sql.go:729–731  ·  view source on GitHub ↗
(s *schema.Schema, resourceID interface{})

Source from the content-addressed store, hash-verified

727}
728
729func (tx *Transaction) Delete(s *schema.Schema, resourceID interface{}) error {
730 return tx.DeleteContext(context.Background(), s, resourceID)
731}
732
733//Delete delete resource from db
734func (tx *Transaction) DeleteContext(ctx context.Context, s *schema.Schema, resourceID interface{}) error {

Callers

nothing calls this directly

Calls 1

DeleteContextMethod · 0.95

Tested by

no test coverage detected