fieldsToList converts a list of qcode.Field to a list of strings
(fields []qcode.Field)
| 274 | |
| 275 | // fieldsToList converts a list of qcode.Field to a list of strings |
| 276 | func fieldsToList(fields []qcode.Field) []string { |
| 277 | var f []string |
| 278 | |
| 279 | for _, col := range fields { |
| 280 | f = append(f, col.FieldName) |
| 281 | } |
| 282 | return f |
| 283 | } |
| 284 | |
| 285 | // injectRemoteMarkers merges marker entries for top-level remote roots |
| 286 | // into s.data after SQL execution. psql skips remote roots, so without |