func NewDonation(p P) *E {
	c := []string{
		"RESULT IN 0,-1",
		"supporter.Email IS NOT EMPTY",
		"supporter.Email LIKE %@%.%",
		"supporter.Receive_Email>0"}
	e := NewEnv(p)
	e.Conditions = c
	e.Fields = p.T.Donation.Fields
	e.Headers = p.T.Donation.Headers
	e.Keys = p.T.Donation.Keys
	e.CsvFilename = "donations.csv"
	e.TableName = "donation(supporter_KEY)supporter"
	e.CountTableName = "donation"
	e.PrimaryKey = "donation_KEY"
	return e
}
//NewDonation instantiates an environment for copying donations to CSV files.
//TODO: Allow a user to iverride these selections with a YAML file.
NewDonation instantiates an environment for copying donations to CSV files.
TODO: Allow a user to iverride these selections with a YAML file.
// NewDonation instantiates an environment for copying donations to CSV files . // TODO : Allow a user to iverride these selections with a YAML file .
func NewDonation(p P) *E {
	c := []string{
		"RESULT IN 0,-1",
		"supporter.Email IS NOT EMPTY",
		"supporter.Email LIKE %@%.%",
		"supporter.Receive_Email>0"}
	e := NewEnv(p)
	e.Conditions = c
	e.Fields = p.T.Donation.Fields
	e.Headers = p.T.Donation.Headers
	e.Keys = p.T.Donation.Keys
	e.CsvFilename = "donations.csv"
	e.TableName = "donation(supporter_KEY)supporter"
	e.CountTableName = "donation"
	e.PrimaryKey = "donation_KEY"
	return e
}
func NewDonation ( p P ) * E { c := [ ] string { " " , " " , " " , " " } e := NewEnv ( p ) e . Conditions = c e . Fields = p . T . Donation . Fields e . Headers = p . T . Donation . Headers e . Keys = p . T . Donation . Keys e . CsvFilename = " " e . TableName = " " e . CountTableName = " " e . PrimaryKey = " " return e }
NewDonation instantiates an environment for copying donations to CSV files.
NewDonation instantiates an environment for copying donations to CSV files .