Created
September 24, 2017 10:08
-
-
Save charmygarg/1a31f6620fd76838c8e04847e3798e86 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def save(user: User): Future[ResultSet] = { | |
insert | |
.value(_.id, user.id) | |
.value(_.name, user.name) | |
.value(_.email, user.email) | |
.future() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment