Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 865 for clause (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. schema/schema.go

    	FieldsWithDefaultDBValue  []*Field // fields with default value assigned by database
    	Relationships             Relationships
    	CreateClauses             []clause.Interface
    	QueryClauses              []clause.Interface
    	UpdateClauses             []clause.Interface
    	DeleteClauses             []clause.Interface
    	BeforeCreate, AfterCreate bool
    	BeforeUpdate, AfterUpdate bool
    	BeforeDelete, AfterDelete bool
    	BeforeSave, AfterSave     bool
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Oct 31 12:13:56 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. clause/with.go

    package clause
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 35 bytes
    - Click Count (0)
  3. tests/update_test.go

    		t.Errorf("Not error should happen when updating with gorm expr, but got %v", err)
    	}
    
    	if err := DB.Model(&results[1]).Clauses(clause.Returning{Columns: []clause.Column{{Name: "age"}}}).Updates(map[string]interface{}{"age": gorm.Expr("age + ?", 100)}).Error; err != nil {
    		t.Errorf("Not error should happen when updating with gorm expr, but got %v", err)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  4. tests/create_test.go

    	CheckUser(t, result, user)
    
    	user2 := *GetUser("omit_create", Config{Account: true, Pets: 3, Toys: 3, Company: true, Manager: true, Team: 3, Languages: 3, Friends: 4})
    	DB.Omit(clause.Associations).Create(&user2)
    
    	var result2 User
    	DB.Preload(clause.Associations).First(&result2, user2.ID)
    
    	user2.Account = Account{}
    	user2.Toys = nil
    	user2.Manager = nil
    	user2.Company = Company{}
    	user2.Pets = nil
    	user2.Team = nil
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 09:55:20 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  5. clause/association.go

    package clause
    
    // AssociationOpType represents association operation types
    type AssociationOpType int
    
    const (
    	OpUnlink AssociationOpType = iota // Unlink association
    	OpDelete                          // Delete association records
    	OpUpdate                          // Update association records
    	OpCreate                          // Create association records with assignments
    )
    
    // Association represents an association operation
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  6. tests/postgres_test.go

    		OtherID: "1234",
    		Data:    "something",
    	}
    
    	DB.Create(&thing)
    
    	thing2 := Thing{
    		SomeID:  "1234",
    		OtherID: "1234",
    		Data:    "something else",
    	}
    
    	result := DB.Clauses(clause.OnConflict{
    		OnConstraint: "some_id_other_id_unique",
    		UpdateAll:    true,
    	}).Create(&thing2)
    	if result.Error != nil {
    		t.Errorf("creating second thing: %v", result.Error)
    	}
    
    	var things []Thing
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Click Count (0)
  7. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.modules.model
    
    
    enum class License(val displayName: String) {
        Apache2("Apache 2.0"),
        BSD3("3-Clause BSD"),
        BSDStyle("BSD-style"),
        CDDL("CDDL"),
        EDL("Eclipse Distribution License 1.0"),
        EPL("Eclipse Public License 1.0"),
        LGPL21("LGPL 2.1"),
        MIT("MIT")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 08 10:41:04 GMT 2021
    - 922 bytes
    - Click Count (0)
  8. tests/gaussdb_test.go

    		OtherID: "1234",
    		Data:    "something",
    	}
    
    	DB.Create(&thing)
    
    	thing2 := Thing{
    		SomeID:  "1234",
    		OtherID: "1234",
    		Data:    "something else",
    	}
    
    	result := DB.Clauses(clause.OnConflict{
    		OnConstraint: "some_id_other_id_unique",
    		UpdateAll:    true,
    	}).Create(&thing2)
    	if result.Error != nil {
    		t.Errorf("creating second thing: %v", result.Error)
    	}
    
    	var things []Thing
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. internal/s3select/sql/errors.go

    		message:    "Invalid argument given to the LIKE clause in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errQueryParseFailure(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseSelectFailure",
    		message:    err.Error(),
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errQueryAnalysisFailure(err error) *s3Error {
    	return &s3Error{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  10. errors.go

    	ErrInvalidTransaction = errors.New("invalid transaction")
    	// ErrNotImplemented not implemented
    	ErrNotImplemented = errors.New("not implemented")
    	// ErrMissingWhereClause missing where clause
    	ErrMissingWhereClause = errors.New("WHERE conditions required")
    	// ErrUnsupportedRelation unsupported relations
    	ErrUnsupportedRelation = errors.New("unsupported relations")
    	// ErrPrimaryKeyRequired primary keys required
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 26 02:53:17 GMT 2024
    - 2.5K bytes
    - Click Count (0)
Back to Top