Responsibilities of a Persistence Adapter

Persistence adapter

This is what a persistence adapter usually does:

  1. Takes input
  2. Maps input into database format
  3. Sends input to the database
  4. Maps database output into application format
  5. Returns output

Get hands-on with 1400+ tech skills courses.