SyncIteratorOptColumnName sets the column name for the iterator. This is used for tracing and debugging only. All work is done using the column index which is a required parameter on creation.
(columnName string)
| 406 | // This is used for tracing and debugging only. All work is done |
| 407 | // using the column index which is a required parameter on creation. |
| 408 | func SyncIteratorOptColumnName(columnName string) SyncIteratorOpt { |
| 409 | return func(i *SyncIterator) { |
| 410 | i.columnName = columnName |
| 411 | } |
| 412 | } |
| 413 | |
| 414 | // SyncIteratorOptSelectAs returns the values of the columns with this name |
| 415 | // in the IteratorResult. By default the iterator only looks for matches and |