Reworded README

This commit is contained in:
Ben Ashton 2021-03-05 15:27:12 -08:00
parent c18a959166
commit 066bf2cb7f

View File

@ -122,7 +122,7 @@ await db.autoTransaction(async (tx) => {
### Recommended Approach to Model Classes
Supposing we have two tables in our database. The first table `contacts` contains rows of contact names. The second table `numbers` contains rows of numbers and foreign keys for contact ids. We could model the above database like this:
Supposing we have two tables in our database. The first table `contacts` contains rows of contact names. The second table `numbers` contains rows of numbers and foreign keys for contact ids. We could model that database like this:
```javascript
class NumberModel {