func (ltuo *LocationTypeUpdateOne) Save(ctx context.Context) (*LocationType, error) {
	if ltuo.update_time == nil {
		v := locationtype.UpdateDefaultUpdateTime()
		ltuo.update_time = &v
	}
	return ltuo.sqlSave(ctx)
}
// Save executes the query and returns the updated entity.
Save executes the query and returns the updated entity.
// Save executes the query and returns the updated entity .
func (ltuo *LocationTypeUpdateOne) Save(ctx context.Context) (*LocationType, error) {
	if ltuo.update_time == nil {
		v := locationtype.UpdateDefaultUpdateTime()
		ltuo.update_time = &v
	}
	return ltuo.sqlSave(ctx)
}
func ( ltuo * LocationTypeUpdateOne ) Save ( ctx context . Context ) ( * LocationType , error ) { if ltuo . update_time == nil { v := locationtype . UpdateDefaultUpdateTime ( ) ltuo . update_time = & v } return ltuo . sqlSave ( ctx ) }
Save executes the query and returns the updated entity.
Save executes the query and returns the updated entity .