code: func (s *AlterRetentionPolicyStatement) String() string {
  	var buf bytes.Buffer
  	_, _ = buf.WriteString("ALTER RETENTION POLICY ")
  	_, _ = buf.WriteString(QuoteIdent(s.Name))
  	_, _ = buf.WriteString(" ON ")
  	_, _ = buf.WriteString(QuoteIdent(s.Database))
  
  	if s.Duration != nil {
  		_, _ = buf.WriteString(" DURATION ")
  		_, _ = buf.WriteString(FormatDuration(*s.Duration))
  	}
  
  	if s.Replication != nil {
  		_, _ = buf.WriteString(" REPLICATION ")
  		_, _ = buf.WriteString(strconv.Itoa(*s.Replication))
  	}
  
  	if s.ShardGroupDuration != nil {
  		_, _ = buf.WriteString(" SHARD DURATION ")
  		_, _ = buf.WriteString(FormatDuration(*s.ShardGroupDuration))
  	}
  
  	if s.Default {
  		_, _ = buf.WriteString(" DEFAULT")
  	}
  
  	return buf.String()
  }
docs: // String returns a string representation of the alter retention policy statement.