CSV exports query results as CSV format (legacy wrapper).
(result *v1pb.QueryResult)
| 14 | |
| 15 | // CSV exports query results as CSV format (legacy wrapper). |
| 16 | func CSV(result *v1pb.QueryResult) ([]byte, error) { |
| 17 | return exportToBytes(result, CSVToWriter) |
| 18 | } |
| 19 | |
| 20 | // CSVToWriter streams query results as CSV directly to the writer. |
| 21 | // This minimizes memory usage by avoiding intermediate buffering. |
no test coverage detected