(name string, rowId int, columnId int)
| 53 | } |
| 54 | |
| 55 | func (q *SQL) Sel(name string, rowId int, columnId int) string { |
| 56 | table, ok := q.tables[name] |
| 57 | if !ok { |
| 58 | return "<null>" |
| 59 | } |
| 60 | |
| 61 | row, ok := table.rows[rowId] |
| 62 | if !ok { |
| 63 | return "<null>" |
| 64 | } |
| 65 | |
| 66 | if columnId < 1 || columnId > len(row) { |
| 67 | return "<null>" |
| 68 | } |
| 69 | |
| 70 | return row[columnId-1] |
| 71 | } |
| 72 | |
| 73 | func (q *SQL) Exp(name string) []string { |
| 74 | table, ok := q.tables[name] |
nothing calls this directly
no outgoing calls
no test coverage detected