Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for SkipDefaultTransaction (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. gorm.go

    // Config GORM config
    type Config struct {
    	// GORM perform single create, update, delete operations in transactions by default to ensure database data integrity
    	// You can disable it by setting `SkipDefaultTransaction` to true
    	SkipDefaultTransaction    bool
    	DefaultTransactionTimeout time.Duration
    	DefaultContextTimeout     time.Duration
    
    	// NamingStrategy tables, columns naming strategy
    	NamingStrategy schema.Namer
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  2. finisher_api.go

    				subtx.callbacks.Create().Execute(subtx)
    				if subtx.Error != nil {
    					return subtx.Error
    				}
    				rowsAffected += subtx.RowsAffected
    			}
    			return nil
    		}
    
    		if tx.SkipDefaultTransaction || reflectLen <= batchSize {
    			tx.AddError(callFc(tx.Session(&Session{})))
    		} else {
    			tx.AddError(tx.Transaction(callFc))
    		}
    
    		tx.RowsAffected = rowsAffected
    	default:
    		tx = db.getInstance()
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
Back to Top