Encode bigints as strings

This commit is contained in:
Dan Sosedoff
2016-01-07 11:27:16 -06:00
parent 581a2f164b
commit fbb8ffbfc6
3 changed files with 37 additions and 0 deletions

View File

@@ -207,6 +207,8 @@ func HandleQuery(query string, c *gin.Context) {
c.Writer.Header().Set("Content-disposition", "attachment;filename="+filename)
}
result.PrepareBigints()
switch format {
case "csv":
c.Data(200, "text/csv", result.CSV())