Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for OpUnlink (0.04 seconds)

  1. 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)
Back to Top