return"",fmt.Errorf("missing time column argument for macro %v",name)
return"",fmt.Errorf("missing time column argument for macro %v",name)
}
}
returnfmt.Sprintf("%s BETWEEN '%s' AND '%s'",args[0],m.TimeRange.GetFromAsTimeUTC().Format(time.RFC3339),m.TimeRange.GetToAsTimeUTC().Format(time.RFC3339)),nil
returnfmt.Sprintf("%s BETWEEN '%s' AND '%s'",args[0],m.timeRange.GetFromAsTimeUTC().Format(time.RFC3339),m.timeRange.GetToAsTimeUTC().Format(time.RFC3339)),nil