Merge branch 'tchssk/readme-find'

This commit is contained in:
Aaron L 2017-07-13 22:29:10 -07:00
commit c43e856136

View file

@ -1027,10 +1027,10 @@ Find is used to find a single row by primary key:
```go ```go
// Retrieve pilot with all columns filled // Retrieve pilot with all columns filled
pilot, err := models.PilotFind(db, 1) pilot, err := models.FindPilot(db, 1)
// Retrieve a subset of column values // Retrieve a subset of column values
jet, err := models.JetFind(db, 1, "name", "color") jet, err := models.FindJet(db, 1, "name", "color")
``` ```
### Insert ### Insert