Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasReturning (0.27 sec)

  1. callbacks/create.go

    			db.Statement.Build(db.Statement.BuildClauses...)
    		}
    
    		isDryRun := !db.DryRun && db.Error == nil
    		if !isDryRun {
    			return
    		}
    
    		ok, mode := hasReturning(db, supportReturning)
    		if ok {
    			if c, ok := db.Statement.Clauses["ON CONFLICT"]; ok {
    				onConflict, _ := c.Expression.(clause.OnConflict)
    				if onConflict.DoNothing {
    					mode |= gorm.ScanOnConflictDoNothing
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top