// ParallelScanIterate allows you to do a parallel scan in dynamo based on the built object.
// the fn parameter will be called as often as needed to retrieve all results
ParallelScanIterate allows you to do a parallel scan in dynamo based on the built object.
the fn parameter will be called as often as needed to retrieve all results
// ParallelScanIterate allows you to do a parallel scan in dynamo based on the built object . // the fn parameter will be called as often as needed to retrieve all results
func (s *Builder) ParallelScanIterate(ctx context.Context, workers int, fn func(output *dynamodb.ScanOutput) error, unsafe bool) error {
	if s.err != nil {
		return s.err
	}
	if s.client == nil {
		return ErrClientNotSet
	}
	query, _ := s.ToScan()
	return s.client.ParallelScanIterator(ctx, &query, workers, fn, unsafe)
}
func ( s * Builder ) ParallelScanIterate ( ctx context . Context , workers int , fn func ( output * dynamodb . ScanOutput ) error , unsafe bool ) error { if s . err != nil { return s . err } if s . client == nil { return ErrClientNotSet } query , _ := s . ToScan ( ) return s . client . ParallelScanIterator ( ctx , & query , workers , fn , unsafe ) }
ParallelScanIterate allows you to do a parallel scan in dynamo based on the built object.
ParallelScanIterate allows you to do a parallel scan in dynamo based on the built object .