January 2018
Intermediate to advanced
336 pages
7h 56m
English
The Service Consumer microservice uses Datomic as the local database to store the consumer details. The schema for the consumer database consists of the following attributes:
| :db/ident | :db/valueType | :db/cardinality | :db/index | :db/fulltext | :db/unique | :db/doc |
| :consumer/id | :db.type/string | :db.cardinality/one | true | false | :db.unique/identity | Unique consumer ID |
| :consumer/name | :db.type/string | :db.cardinality/one | true | true | - | Display name for the consumer |
| :consumer/address | :db.type/string | :db.cardinality/one | true | true | - | Consumer address |
| :consumer/mobile | :db.type/string | :db.cardinality/one | false | - | - | Mobile number |
| :consumer/email | :db.type/string | :db.cardinality/one | true | - | - | Email address |
| :consumer/geo | :db.type/string ... |
Read now
Unlock full access