Edit Page

.toPromise()

Begin executing a Waterline query instance and return a promise.

.toPromise();

This is an alternative to .exec().

Notes

#

Is something missing?

If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the sails repo. Once we merge it, the changes will be reflected on the website the next time it is deployed.

Reference

Reference