Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for an (0.13 sec)

  1. finisher_api.go

    // Each conds must be a struct or map.
    //
    // Using FirstOrCreate in conjunction with Assign will result in an update to the database even if the record exists.
    //
    //	// assign an email if the record is not found
    //	result := db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrCreate(&user)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
Back to top