Fix examples of Find in README

This commit is contained in:
Taichi Sasaki 2017-07-06 07:05:32 +09:00
parent 0b027fa01c
commit ca4dc4433b

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