Looping jc.getJob return the job's with their document _ids included whereas jc.getJobs does not conclude _id field in the returned job's documents.
The following code, (if jobs declared by getJobs) wont work because of the following error: Error: Each provided object must be a saved Job instance (with an _id)
Meanwhile looping getJob get's the job done. ;)
Looping jc.getJob return the job's with their document
_id
s included whereas jc.getJobs does not conclude_id
field in the returned job's documents.The following code, (if
jobs
declared by getJobs) wont work because of the following error:Error: Each provided object must be a saved Job instance (with an _id)
Meanwhile looping getJob get's the job done. ;)