perbert27 of team-ba
12/29/2017 - 1:37 PM

CRUD IN SAILS V1+

This snippet shows how to perform "BASIC" CRUD operation using Sails js (a node js MVC Framework) and doesn't include any association.

exports.create = async (req, res) {
  try {
    
  } catch (e) {
    return res.serverError(e); 
  } 
}

exports.read = async () {
  
}