Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CreateInterface (0.67 sec)

  1. generics.go

    type Interface[T any] interface {
    	Raw(sql string, values ...interface{}) ExecInterface[T]
    	Exec(ctx context.Context, sql string, values ...interface{}) error
    	CreateInterface[T]
    }
    
    type CreateInterface[T any] interface {
    	ChainInterface[T]
    	Table(name string, args ...interface{}) CreateInterface[T]
    	Create(ctx context.Context, r *T) error
    	CreateInBatches(ctx context.Context, r *[]T, batchSize int) error
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top