January 2018
Intermediate to advanced
336 pages
7h 56m
English
Persistence protocol for the Consumer service consists of upsert, entity, and delete functions that are implemented by each adapter of this port. Adapters implementing the persistence protocol are then used within the Pedestal interceptor to create, update, query, and delete Consumer details. The implementation of the protocol and corresponding record is shown in the following code snippet that must be added to the persistence.clj source file:
(ns helping-hands.consumer.persistence "Persistence Port and Adapter for Consumer Service" (:require [datomic.api :as d]));; --------------------------------------------------;; Consumer Persistence Port for Adapters to Plug-in;; -------------------------------------------------- ...
Read now
Unlock full access