code: func (s *ShowMeasurementsStatement) String() string {
  	var buf bytes.Buffer
  	_, _ = buf.WriteString("SHOW MEASUREMENTS")
  
  	if s.Database != "" {
  		_, _ = buf.WriteString(" ON ")
  		_, _ = buf.WriteString(s.Database)
  	}
  	if s.Source != nil {
  		_, _ = buf.WriteString(" WITH MEASUREMENT ")
  		if m, ok := s.Source.(*Measurement); ok && m.Regex != nil {
  			_, _ = buf.WriteString("=~ ")
  		} else {
  			_, _ = buf.WriteString("= ")
  		}
  		_, _ = buf.WriteString(s.Source.String())
  	}
  	if s.Condition != nil {
  		_, _ = buf.WriteString(" WHERE ")
  		_, _ = buf.WriteString(s.Condition.String())
  	}
  	if len(s.SortFields) > 0 {
  		_, _ = buf.WriteString(" ORDER BY ")
  		_, _ = buf.WriteString(s.SortFields.String())
  	}
  	if s.Limit > 0 {
  		_, _ = buf.WriteString(" LIMIT ")
  		_, _ = buf.WriteString(strconv.Itoa(s.Limit))
  	}
  	if s.Offset > 0 {
  		_, _ = buf.WriteString(" OFFSET ")
  		_, _ = buf.WriteString(strconv.Itoa(s.Offset))
  	}
  	return buf.String()
  }
docs: // String returns a string representation of the statement.