SyncIteratorOptSelectAs returns the values of the columns with this name in the IteratorResult. By default the iterator only looks for matches and returns their row numbers. This option is used when you also want the actual found values back.
(selectAs string)
| 416 | // returns their row numbers. This option is used when you also want the actual |
| 417 | // found values back. |
| 418 | func SyncIteratorOptSelectAs(selectAs string) SyncIteratorOpt { |
| 419 | return func(i *SyncIterator) { |
| 420 | i.selectAs = selectAs |
| 421 | } |
| 422 | } |
| 423 | |
| 424 | // SyncIteratorOptBufferSize overrides the default buffer size. This is how many |
| 425 | // values are unpacked from the column on each read. |
no outgoing calls