How to get value from child table?

frappe.call({method:‘frappe.model.db_query.get_list’,
args:{parent: ‘doc.Document Trainer and Implementor Record’, doctype: ‘Detail’,
filters: {‘docstatus’: 1},
fields: [’*’]

                },callback: function(r) {
                    console.log(r)
                } 
                    
    });