This commit is contained in:
A. Lombarte 2018-06-16 12:21:18 +02:00 committed by Jinzhu
parent 23958378a1
commit f1caf058c5

View File

@ -326,7 +326,7 @@ db.Where(User{Name: "Jinzhu"}).FirstOrCreate(&user)
#### Attrs #### Attrs
Assgin struct with argument if record haven't been found Assign struct with argument if record haven't been found
```go ```go
// Unfound // Unfound