Merge b308dca8dfd572e49cbdc0474d22da80425fbe07 into 23958378a1bfad994c50180c5bf9605d3e23b1b0
This commit is contained in:
commit
82506ff784
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user