github.com/RevenueMonster/sqlike@v1.0.6/sqlike/options/update_one.go (about)

     1  package options
     2  
     3  // UpdateOneOptions :
     4  type UpdateOneOptions struct {
     5  	UpdateOptions
     6  }
     7  
     8  // UpdateOne :
     9  func UpdateOne() *UpdateOneOptions {
    10  	return &UpdateOneOptions{}
    11  }
    12  
    13  // SetDebug :
    14  func (opt *UpdateOneOptions) SetDebug(debug bool) *UpdateOneOptions {
    15  	opt.Debug = debug
    16  	return opt
    17  }