Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 336 for rebate (0.4 sec)

  1. callbacks/create.go

    				if i, ok := value.(BeforeCreateInterface); ok {
    					called = true
    					db.AddError(i.BeforeCreate(tx))
    				}
    			}
    			return called
    		})
    	}
    }
    
    // Create create hook
    func Create(config *Config) func(db *gorm.DB) {
    	supportReturning := utils.Contains(config.CreateClauses, "RETURNING")
    
    	return func(db *gorm.DB) {
    		if db.Error != nil {
    			return
    		}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(RepositoryFactory.class).createRemote(...)}.
         *
         * @param  id identifier of the remote repository to create
         * @param  url location of the remote repository
         * @return remote repository that can be used to download or upload artifacts
         *
         * @see org.apache.maven.api.services.RepositoryFactory#createRemote(String, String)
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  3. internal/logger/logrotate.go

    		opts: opts,
    		pw:   pw,
    		pr:   pr,
    	}
    
    	if w.f == nil {
    		if err := w.rotate(); err != nil {
    			return nil, fmt.Errorf("Failed to create log file: %w", err)
    		}
    	}
    
    	go w.listen()
    
    	return w, nil
    }
    
    func newFile(path string) (*os.File, error) {
    	return os.OpenFile(path, os.O_WRONLY|os.O_TRUNC|os.O_CREATE|os.O_SYNC, 0o666)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/sql-databases.md

    ### Create data
    
    Now create utility functions to create data.
    
    The steps are:
    
    * Create a SQLAlchemy model *instance* with your data.
    * `add` that instance object to your database session.
    * `commit` the changes to the database (so that they are saved).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	filePath := pathJoin(s.drivePath, minioMetaTmpDeletedBucket, ".writable-check-"+uuid+".tmp")
    
    	// Create top level directories if they don't exist.
    	// with mode 0o777 mkdir honors system umask.
    	mkdirAll(pathutil.Dir(filePath), 0o777, s.drivePath) // don't need to fail here
    
    	w, err := s.openFileDirect(filePath, os.O_CREATE|os.O_WRONLY|os.O_EXCL)
    	if err != nil {
    		return err
    	}
    	_, err = w.Write(alignedBuf)
    	w.Close()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. migrator/migrator.go

    	})
    
    	return columnTypes, execErr
    }
    
    // CreateView create view from Query in gorm.ViewOption.
    // Query in gorm.ViewOption is a [subquery]
    //
    //	// CREATE VIEW `user_view` AS SELECT * FROM `users` WHERE age > 20
    //	q := DB.Model(&User{}).Where("age > ?", 20)
    //	DB.Debug().Migrator().CreateView("user_view", gorm.ViewOption{Query: q})
    //
    //	// CREATE OR REPLACE VIEW `users_view` AS SELECT * FROM `users` WITH CHECK OPTION
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

         *
         * @see ArtifactCoordinateFactory#create(Session, String)
         */
        @Override
        public ArtifactCoordinate createArtifactCoordinate(String coordString) {
            return getService(ArtifactCoordinateFactory.class).create(this, coordString);
        }
    
        /**
         * Shortcut for <code>getService(CoordinateFactory.class).create(...)</code>
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  8. cmd/os-reliable.go

    	if err = reliableMkdirAll(path.Dir(dstFilePath), 0o777, baseDir); err != nil {
    		return err
    	}
    
    	i := 0
    	for {
    		// After a successful parent directory create attempt a renameAll.
    		if err = Rename(srcFilePath, dstFilePath); err != nil {
    			// Retry only for the first retryable error.
    			if osIsNotExist(err) && i == 0 {
    				i++
    				continue
    			}
    		}
    		break
    	}
    	return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. Makefile.core.mk

    	# external istiod remote cluster charts
    	cp manifests/charts/base/templates/services.yaml manifests/charts/istiod-remote/templates
    	cp manifests/charts/base/templates/endpoints.yaml manifests/charts/istiod-remote/templates
    	cp manifests/charts/base/templates/reader-serviceaccount.yaml manifests/charts/istiod-remote/templates
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 26 19:45:17 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  10. cmd/tier-sweeper.go

    	}
    
    	// 1. If bucket versioning is disabled, remove the remote object.
    	// 2. If bucket versioning is suspended and
    	//    a. version id is specified, remove its remote object.
    	//    b. version id is not specified, remove null version's remote object if it exists.
    	// 3. If bucket versioning is enabled and
    	//    a. version id is specified, remove its remote object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top