MCPcopy Create free account
hub / github.com/koding/kite / Delete

Method Delete

kontrol/postgres.go:327–331  ·  view source on GitHub ↗
(kiteProt *protocol.Kite)

Source from the content-addressed store, hash-verified

325}
326
327func (p *Postgres) Delete(kiteProt *protocol.Kite) error {
328 deleteKite := `DELETE FROM kite.kite WHERE id = $1`
329 _, err := p.DB.Exec(deleteKite, kiteProt.ID)
330 return err
331}
332
333// selectQuery returns a SQL query for the given query
334func selectQuery(query *protocol.KontrolQuery) (string, []interface{}, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected