(name string, rowId int)
| 43 | } |
| 44 | |
| 45 | func (q *SQL) Rmv(name string, rowId int) { |
| 46 | table, ok := q.tables[name] |
| 47 | if !ok { |
| 48 | return |
| 49 | } |
| 50 | |
| 51 | // deletes are idempotent, no need to check if it exists or not |
| 52 | delete(table.rows, rowId) |
| 53 | } |
| 54 | |
| 55 | func (q *SQL) Sel(name string, rowId int, columnId int) string { |
| 56 | table, ok := q.tables[name] |
nothing calls this directly
no outgoing calls
no test coverage detected