(name string, row []string)
| 32 | } |
| 33 | |
| 34 | func (q *SQL) Ins(name string, row []string) bool { |
| 35 | table, ok := q.tables[name] |
| 36 | if !ok || len(row) != table.colCount { |
| 37 | return false |
| 38 | } |
| 39 | |
| 40 | table.idInc++ |
| 41 | table.rows[table.idInc] = row |
| 42 | return true |
| 43 | } |
| 44 | |
| 45 | func (q *SQL) Rmv(name string, rowId int) { |
| 46 | table, ok := q.tables[name] |
nothing calls this directly
no outgoing calls
no test coverage detected