Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for onUpdate (0.04 seconds)

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

  1. schema/relationship.go

    	OnDelete        string
    	OnUpdate        string
    }
    
    func (constraint *Constraint) GetName() string { return constraint.Name }
    
    func (constraint *Constraint) Build() (sql string, vars []interface{}) {
    	sql = "CONSTRAINT ? FOREIGN KEY ? REFERENCES ??"
    	if constraint.OnDelete != "" {
    		sql += " ON DELETE " + constraint.OnDelete
    	}
    
    	if constraint.OnUpdate != "" {
    		sql += " ON UPDATE " + constraint.OnUpdate
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Nov 16 04:11:05 GMT 2025
    - 23.1K bytes
    - Click Count (1)
  2. CHANGELOG/CHANGELOG-1.36.md

    - Client-go: default informer behavior now updates store state with all the objects in a list or relist, before calling handler OnDelete/OnAdd/OnUpdate methods for individual items which were deleted/added/removed. This ensures that the store state which can be inspected by handlers actually corresponds to a set of objects that existed at a particular resource version on the server. This behavior...
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 23:38:00 GMT 2026
    - 142.1K bytes
    - Click Count (0)
  3. generics.go

    	var r T
    	base := s.c.g.apply(ctx).Model(r)
    
    	switch op.Type {
    	case clause.OpCreate:
    		return s.handleAssociationCreate(ctx, base, op)
    	case clause.OpUnlink, clause.OpDelete, clause.OpUpdate:
    		return s.handleAssociation(ctx, base, op)
    	default:
    		return fmt.Errorf("unknown association operation type: %v", op.Type)
    	}
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 26K bytes
    - Click Count (0)
  4. tests/generics_test.go

    	operations := []struct {
    		Type     clause.AssociationOpType
    		TypeName string
    	}{
    		{clause.OpUnlink, "OpUnlink"},
    		{clause.OpDelete, "OpDelete"},
    		{clause.OpUpdate, "OpUpdate"},
    		{clause.OpCreate, "OpCreate"},
    	}
    
    	for _, op := range operations {
    		assoc := clause.Association{
    			Association: "Orders",
    			Type:        op.Type,
    		}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 30 08:11:14 GMT 2025
    - 34.9K bytes
    - Click Count (0)
Back to Top