Table returns the table from the first split (should be same for all) returns nil if no splits yet
()
| 83 | // Table returns the table from the first split (should be same for all) |
| 84 | // returns nil if no splits yet |
| 85 | func (spl *Splits) Table() *Table { |
| 86 | if len(spl.Splits) == 0 { |
| 87 | return nil |
| 88 | } |
| 89 | return spl.Splits[0].Table |
| 90 | } |
| 91 | |
| 92 | // New adds a new split to the list for given table, and with associated |
| 93 | // values, which are copied before saving into Values list, and any number of rows |
no outgoing calls
no test coverage detected