Closed GoogleCodeExporter closed 9 years ago
mongodb-morphia 0.7.8
Original comment by barry.al...@gmail.com
on 7 Aug 2012 at 3:39
You need to add .get() at the end to return the first one. See the fourth
example in the docs :
http://code.google.com/p/morphia/wiki/Datastore#Find_Methods
Original comment by scotthernandez
on 7 Aug 2012 at 3:50
Yep. adding .get() worked. Thanks.
Original comment by barry.al...@gmail.com
on 7 Aug 2012 at 4:05
Original issue reported on code.google.com by
barry.al...@gmail.com
on 7 Aug 2012 at 3:35