This question has been flagged
3157 Views

Hi,

I want to call a super function after a query (I need the result before the parent call). Without wait the end of the query I can use "this._super.apply(this, arguments);" but here I want to call the parent function in the "then part":

Model.query(condition).then(function (datas) {

// call a parent function

});

Thanks

Avatar
Discard