Typically put in the parameters for the DBDocument
class.
Typically put in the parameters for the DBDocument
class.
Used to capture the database state when this was fetched.
Typically put in the parameters for the DBDocument
class.
Generate a json string from the data
Typically put in the parameters for the DBDocument
class.
Convenience function used on update
Remove this from the database
Should be implemented by a wrapper of a case class
Typically you'll have this pattern:
If you follow this pattern, you'll be able to store/retrieve arbitrary documents of different types.