Join Slack
how to give projection fields in mongo query in kotlin
# getting-started
t
techie01
09/04/2017, 6:38 AM
how to give projection fields in mongo query in kotlin
v
voddan
09/04/2017, 9:43 AM
This is a very vague question. To answer it we need more context and details. Could you please ask it at StackOverflow and post a link to it here?
t
techie01
09/04/2017, 9:46 AM
val v=users.findOne("""{"phone":${phone}"}""") ,in this situation it has many fields but i want to return only domain name in that document . how ??
3
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by