Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for tx (0.02 seconds)

  1. gorm.go

    func (db *DB) Debug() (tx *DB) {
    	tx = db.getInstance()
    	return tx.Session(&Session{
    		Logger: db.Logger.LogMode(logger.Info),
    	})
    }
    
    // Set store value with key into current db instance's context
    func (db *DB) Set(key string, value interface{}) *DB {
    	tx := db.getInstance()
    	tx.Statement.Settings.Store(key, value)
    	return tx
    }
    
    // Get get value with key from current db instance's context
    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. generics.go

    			return assocDB.Updates(setMap).Error
    		}
    	case schema.BelongsTo:
    		switch op.Type {
    		case clause.OpDelete:
    			return base.Transaction(func(tx *DB) error {
    				assocDB.Statement.ConnPool = tx.Statement.ConnPool
    				base.Statement.ConnPool = tx.Statement.ConnPool
    
    				if err := assocDB.Where("? IN (?)", primaryColumns, base.Select(ownerFKNames)).Delete(assocModel).Error; err != nil {
    					return err
    				}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 26K bytes
    - Click Count (0)
  3. migrator/migrator.go

    			}
    
    			err = tx.Exec(createTableSQL, values...).Error
    			return err
    		}); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // DropTable drop table for values
    func (m Migrator) DropTable(values ...interface{}) error {
    	values = m.ReorderModels(values, false)
    	for i := len(values) - 1; i >= 0; i-- {
    		tx := m.DB.Session(&gorm.Session{})
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  4. tests/migrate_test.go

    	}
    
    	var err error
    	_ = DB.Migrator().DropTable(&RelationModel1{}, &RelationModel2{}, &RelationModel3{})
    
    	tx := DB.Session(&gorm.Session{})
    	tx.IgnoreRelationshipsWhenMigrating = true
    
    	err = tx.AutoMigrate(&RelationModel3{})
    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    
    	// RelationModel3 should be existed
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    m-mo\u0007from-ms\u0007from-mt\u0007from-nc\u0007from-nd\u0007from-ne\u0007from-nh\u0007from-nj\u0007from-nm\u0007from-nv\u0007from-oh\u0007from-ok\u0007from-or\u0007from-pa\u0007from-pr\u0007from-ri\u0007from-sc\u0007from-sd\u0007from-tn\u0007from-tx\u0007from-ut\u0007from-va\u0007from-vt\u0007from-wa\u0007from-wi\u0007from-wv\u0007from-wy\ngeekgalaxy\u0008gentapps\u000cgentlentapis\u0007getmyip\u0005giize\u0011githubusercontent\u0006gleeze\ngoogleapis\ngooglecode\u000bgotpantheon\u000egrayjayl...
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 06 20:41:51 GMT 2026
    - 290.5K bytes
    - Click Count (1)
Back to Top