Merge 3ea1d30e62ef4ab2f7b16e5e34c921156cc5b661 into 1b48aa072d1210c2ba315aeea18b57fddb634875
This commit is contained in:
		
						commit
						c800881d59
					
				
							
								
								
									
										8
									
								
								gorm.go
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								gorm.go
									
									
									
									
									
								
							| @ -325,6 +325,14 @@ func (db *DB) Debug() (tx *DB) { | ||||
| 	}) | ||||
| } | ||||
| 
 | ||||
| // Silent start silent mode
 | ||||
| func (db *DB) Silent() (tx *DB) { | ||||
| 	tx = db.getInstance() | ||||
| 	return tx.Session(&Session{ | ||||
| 		Logger: db.Logger.LogMode(logger.Silent), | ||||
| 	}) | ||||
| } | ||||
| 
 | ||||
| // Set store value with key into current db instance's context
 | ||||
| func (db *DB) Set(key string, value interface{}) *DB { | ||||
| 	tx := db.getInstance() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 崔士杰
						崔士杰