// FindJobs finds all jobs.
FindJobs finds all jobs.
// FindJobs finds all jobs .
func (wr *WriterReader) FindJobs() []entities.Job {
	stmt, err := db.Prepare(findAllJobsSQL)
	if err != nil {
		return []entities.Job{}
	}
	rows := wr.readAllJobRows(stmt)
	_ = stmt.Close()
	return wr.mapJobRowsToEntitities(rows)
}
func ( wr * WriterReader ) FindJobs ( ) [ ] entities . Job { stmt , err := db . Prepare ( findAllJobsSQL ) if err != nil { return [ ] entities . Job { } } rows := wr . readAllJobRows ( stmt ) _ = stmt . Close ( ) return wr . mapJobRowsToEntitities ( rows ) }
FindJobs finds all jobs.
FindJobs finds all jobs .