// FindAssignmentsByJob finds assignments for a job
FindAssignmentsByJob finds assignments for a job
// FindAssignmentsByJob finds assignments for a job
func (wr *WriterReader) FindAssignmentsByJob(jobName string) []entities.Assignment {
	stmt, _ := db.Prepare(findAssignmentsByJobSQL)
	_ = stmt.Exec(jobName)
	rows := wr.readAllAssignmentRows(stmt)
	return wr.mapAssignmentRowsToEntitities(rows)
}
func ( wr * WriterReader ) FindAssignmentsByJob ( jobName string ) [ ] entities . Assignment { stmt , _ := db . Prepare ( findAssignmentsByJobSQL ) _ = stmt . Exec ( jobName ) rows := wr . readAllAssignmentRows ( stmt ) return wr . mapAssignmentRowsToEntitities ( rows ) }
FindAssignmentsByJob finds assignments for a job
FindAssignmentsByJob finds assignments for a job