Guest User

Untitled

a guest
Jul 16th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. User.all({
  2. success: function(users){
  3. $.each(users, function(index, user) {
  4. console.log("all: here I am, user " + user.email + " (id:" + user.id + ")");
  5. });
  6. }
  7. });
  8.  
  9. User.find(1, {
  10. success: function(user) {
  11. console.log("find: here I am, user " + user.email + " (id:" + user.id + ")");
  12. }
  13. });
Add Comment
Please, Sign In to add comment