Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sspModel.newDtResult = function( dtParams ) {
- return new Promise(( resolve ) => {
- SSP.newDtResult( dtParams )
- .then( SSP.totalRows )
- .then( SSP.constructQuery )
- .then( SSP.execSspQuery )
- .then( SSP.processResults )
- .then( ( dtResult ) => {
- resolve( dtResult );
- })
- .catch((err) => {
- reject( err );
- });
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment