Loans per month
$dateToString · $groupLive overview built from MongoDB aggregation pipelines
$dateToString · $group$bucket$sort · $limit$group · $sum$lookupexplain("executionStats")
The same search run two ways. The text index jumps straight to matching documents; the regex has to read every document in the collection.
transaction$jsonSchemamaximum$$NOW on returnissue or return in two scansWorks with USB barcode scanners (they type the code and press Enter), the camera in Chrome or Edge, or typing. If the borrower already has the book it is returned, otherwise it is issued.
| Book | Borrower | Loan period | Status |
|---|
unique indexpartial unique index$setWindowFields| Book | Borrower | Reserved | Status |
|---|
transaction: loan + payment| Borrower | Book | Returned | Fine |
|---|
payments collectionauditLogs.actornotifications collectionemail · SMS| Sent | To | Message | Status |
|---|