In the ledger every menu item has the same columns: name, category, price. But a latte has options and calories, an espresso has a double shot, and a croissant has no volume at all. The clerk will not add a column for every detail: half the cells would stay empty. He writes such details on a card and pins it to the line.
In this lesson
- json and jsonb
- Menu cards
- Reading: -> and ->>
- Common mistake
- Key points