File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/main/scala/com/sfxcode/nosql/mongo/operation Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ name := "simple-mongo"
33
44organization := " com.sfxcode.nosql"
55
6- version := " 0.9.0 "
6+ version := " 0.9.1 "
77
8- crossScalaVersions := Seq ( " 2.12.1 " ," 2.11.8 " )
8+ crossScalaVersions := Seq ( " 2.12.2 " ," 2.11.10 " )
99
10- scalaVersion := " 2.12.1 "
10+ scalaVersion := " 2.12.2 "
1111
1212scalacOptions += " -deprecation"
1313
Original file line number Diff line number Diff line change 1- sbt.version =0.13.13
1+ sbt.version =0.13.15
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ abstract class Search[A]()(implicit ct: ClassTag[A]) extends Crud[A] {
1616 def findById (oid : Any ): FindObservable [A ] = {
1717 oid match {
1818 case objectId : ObjectId => find(equal(" _id" , objectId))
19- case _ => find(equal(" _id" , oid.toString))
19+ case _ => find(equal(" _id" , new ObjectId ( oid.toString) ))
2020 }
2121 }
2222
You can’t perform that action at this time.
0 commit comments