func NewSupporter(p P) *E {
	c := []string{
		"Email IS NOT EMPTY",
		"Email LIKE %@%.%",
	}

	e := NewEnv(p)
	e.Conditions = c
	e.Fields = p.T.Supporter.Fields
	e.Headers = p.T.Supporter.Headers
	e.Keys = p.T.Supporter.Keys
	e.CsvFilename = "supporters.csv"
	e.TableName = "supporter"
	e.CountTableName = "supporter"
	e.PrimaryKey = "supporter_KEY"
	return e
}
//NewSupporter instantiates an environment for copying supporters to CSV files.
//The default behavior is to save supporters that have valid email addresses.
//That means that both subscribed and unsubscribed supporrters are written to CSV
//files.  TODO: Allow a user to iverride these selections with a YAML file.
NewSupporter instantiates an environment for copying supporters to CSV files.
The default behavior is to save supporters that have valid email addresses.
That means that both subscribed and unsubscribed supporrters are written to CSV
files.  TODO: Allow a user to iverride these selections with a YAML file.
// NewSupporter instantiates an environment for copying supporters to CSV files . // The default behavior is to save supporters that have valid email addresses . // That means that both subscribed and unsubscribed supporrters are written to CSV // files . TODO : Allow a user to iverride these selections with a YAML file .
func NewSupporter(p P) *E {
	c := []string{
		"Email IS NOT EMPTY",
		"Email LIKE %@%.%",
	}
	e := NewEnv(p)
	e.Conditions = c
	e.Fields = p.T.Supporter.Fields
	e.Headers = p.T.Supporter.Headers
	e.Keys = p.T.Supporter.Keys
	e.CsvFilename = "supporters.csv"
	e.TableName = "supporter"
	e.CountTableName = "supporter"
	e.PrimaryKey = "supporter_KEY"
	return e
}
func NewSupporter ( p P ) * E { c := [ ] string { " " , " " , } e := NewEnv ( p ) e . Conditions = c e . Fields = p . T . Supporter . Fields e . Headers = p . T . Supporter . Headers e . Keys = p . T . Supporter . Keys e . CsvFilename = " " e . TableName = " " e . CountTableName = " " e . PrimaryKey = " " return e }
NewSupporter instantiates an environment for copying supporters to CSV files.
NewSupporter instantiates an environment for copying supporters to CSV files .