- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for csrsigner (0.04 seconds)
-
generics.go
Table(name string, args ...interface{}) CreateInterface[T] Create(ctx context.Context, r *T) error CreateInBatches(ctx context.Context, r *[]T, batchSize int) error Set(assignments ...clause.Assigner) SetCreateOrUpdateInterface[T] } type ChainInterface[T any] interface { ExecInterface[T] Scopes(scopes ...func(db *Statement)) ChainInterface[T] Where(query interface{}, args ...interface{}) ChainInterface[T]
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:34:24 GMT 2026 - 26K bytes - Click Count (0) -
tests/generics_test.go
Set: []clause.Assignment{ {Column: clause.Column{Name: "amount"}, Value: 100}, {Column: clause.Column{Name: "state"}, Value: "new"}, }, } // Verify it implements Assigner interface assignments := assoc.Assignments() if len(assignments) != 0 { t.Errorf("Association.Assignments() should return empty slice, got %v", assignments) }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)