MCPcopy Create free account
hub / github.com/araddon/qlbridge / NewDelete

Function NewDelete

exec/mutations.go:77–85  ·  view source on GitHub ↗

An inserter to write to data source

(ctx *plan.Context, p *plan.Delete)

Source from the content-addressed store, hash-verified

75
76// An inserter to write to data source
77func NewDelete(ctx *plan.Context, p *plan.Delete) *DeletionTask {
78 m := &DeletionTask{
79 TaskBase: NewTaskBase(ctx),
80 db: p.Source,
81 sql: p.Stmt,
82 p: p,
83 }
84 return m
85}
86
87func (m *Upsert) Close() error {
88 if m.closed {

Callers 1

WalkDeleteMethod · 0.85

Calls 1

NewTaskBaseFunction · 0.85

Tested by

no test coverage detected