I have a
class ClassName(id:String, etc:String, long:Long)
And a function that returns that object from the DB as
Future[Option[ClassName]]
I want to get transform that result (the Future[Option]) as, either a class with it's values, or a Map[String, AnyRef]
Does anyone knows how to handle this transform? I haven't been finding any answers on the internet