The latte went up by 20 rubles. The clerk does not rewrite the card by hand: he takes a new form, copies everything over as it was and changes the one price. The old card goes to the archive. That is a lot of work for one figure, but at any moment a whole, consistent card is in view.
In this lesson
- Building a document
- The ||, - and #- operators
- jsonb_set
- JSONB or ordinary columns
- Common mistake
- Key points