(kiteProt *protocol.Kite)
| 325 | } |
| 326 | |
| 327 | func (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 |
| 334 | func selectQuery(query *protocol.KontrolQuery) (string, []interface{}, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected