A database organizes persistent application data behind a focused module. In a todo API, the database layer receives a connection and exposes operations for setup, retrieval, insertion, and updates. section 16.3.3
Todo entries
A todo database defines an autoincrementing integer primary key alongside text, checked, and rank fields. Adding an entry returns its new row identifier; updating changes checked by id.























