How to check(user created collections) Collections.insert() is Successfully Inserted or not in Meteor JS
?. For example I am using the Client Collections to insert details as shown below:
Client.insert({ name: "xyz", userid: "1", care:"health" });
How to know the above insert query is successfully inserted or not?. Because of the below problem
If the form details are successfully inserted - do one action
else -another action
So Please suggest me what to do?