Author: Not specified | Language: javascript |
Description: (v22) | Timestamp: 2018-06-12 22:28:33 +0000 |
View raw paste | Parent paste by: Not specified - Child paste by: Not specified | Reply |
- let futureResult = user.save()
- futureResult.do { user in
- print("User was saved")
- }.catch { error in
- print("There was an error saving the user: \(error)")
- }
View raw paste | Parent paste by: Not specified - Child paste by: Not specified | Reply |