const { Driver } = require('db.driver'),
{ c_studies: Studies } = org.objects, // automatic construction
Tasks = new Driver('c_tasks') // explicit construction
let study = Studies.readOne({
c_name: 'The Study'
})
.paths('_id')
.execute()
return Tasks.find({
'c_study._id': study._id
})
.paths('c_name')
.sort({c_name: 1})