Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
byjg authored Apr 19, 2023
1 parent 0b76eed commit 394293d
Showing 1 changed file with 27 additions and 19 deletions.
46 changes: 27 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,33 @@ This library intended to be very small and very simple to use;
These are the key components:

```text
┌─────────────────────────────┐
│ Repository │
│ │
│ │
│ ┌───────────────┴───┐ ┌───────────────────┐
│ │ Mapper │───────│ Model │
│ └───────────────┬───┘ └───────────────────┘
│ │ │
│ │ │
│ │ │
│ ┌───────────────┴───┐
│ │ Query │
│ └───────────────┬───┘
│ │
│ ┌───────────────┴───┐
│ │ DbDriverInterface │
│ └───────────────┬───┘
│ │
└─────────────────────────────┘
┌──────────────────────────┐
│ Repository │ ┌─────────────────────┐
│ │ ┌────│ Model │
│ │ │ └─────────────────────┘
│ ┌───────────────┴─────┐ │ │
│ │ Mapper │───┤ │
│ └───────────────┬─────┘ │ │
│ │ │ │ ┌─────────────────────┐
│ │ │ └────│ FieldMapping │
│ │ │ └─────────────────────┘
│ │ │
│ ┌───────────────┴─────┐
│ │ Query │
│ └───────────────┬─────┘
│ │
│ ┌───────────────┴─────┐
│ │ DbDriverInterface │───────────────┐
│ └───────────────┬─────┘ │
│ │ │
└──────────────────────────┘ .─────────.
│ │
│`─────────'│
│ │
│ DB │
│ │
│ │
`─────────'
```

- Model is a get/set class to retrieve or save the data into the database
Expand Down

0 comments on commit 394293d

Please sign in to comment.