Change the intended record
Use unique, stable identifiers so an update changes one intended record.
In this lesson
- It starts with a question. Can two event guests safely be identified by their first name alone?
- The idea you will find. Describe with names; identify with a unique stable value. — An ID should distinguish one record and stay attached to that record if a person changes their name. Before updating, check that the requested ID matches exactly one record. No match or multiple matches need an explicit correction, not a guessed update.
- How you learn it. By doing: records, matching, putting things in order.
- Length. 8 short steps. Progress saves on this phone.
Part of Solve everyday computing problems
Handle event records, find an item, organise work and test a rule using local, interactive models.