Created
September 14, 2021 06:35
-
-
Save hiteshchopra11/dbeac150d8fadb72a94d74ba69e845a6 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
val request = call.receive<NoteRequest>() | |
val result = db.insert(NotesEntity) { | |
set(it.note, request.note) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment