Answer the question
In order to leave comments, you need to log in
Mapping in Storm swift?
Good evening, there was such a problem: There is a main collection in which other collections are stored, to determine the collection of each of them, a unique id is assigned. Question: how to make mapping in storm (translation of the data that is in the database into an object) if this is not possible in storm, then advise which framework to use (without writing your own bicycles, of course)?
id = this.data["_id"] as? String ?? ""
firstname = this.data["firstname"] as? String ?? ""
lastname = this.data["lastname"] as? String ?? ""
email = this.data["email"] as? String ?? ""
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question