Code example fix in readme

This makes the example consistent with its use of `db`.