// ScanIterate allows you to query dynamo based on the built object.
// the fn parameter will be called as often as needed to retrieve all results
ScanIterate allows you to query dynamo based on the built object.
the fn parameter will be called as often as needed to retrieve all results
// ScanIterate allows you to query dynamo based on the built object . // the fn parameter will be called as often as needed to retrieve all results
func (s *Builder) ScanIterate(ctx context.Context, fn func(output *dynamodb.ScanOutput) error) error {
	if s.err != nil {
		return s.err
	}
	if s.client == nil {
		return ErrClientNotSet
	}
	query, _ := s.ToScan()
	return s.client.ScanIterator(ctx, &query, fn)
}
func ( s * Builder ) ScanIterate ( ctx context . Context , fn func ( output * dynamodb . ScanOutput ) error ) error { if s . err != nil { return s . err } if s . client == nil { return ErrClientNotSet } query , _ := s . ToScan ( ) return s . client . ScanIterator ( ctx , & query , fn ) }
ScanIterate allows you to query dynamo based on the built object.
ScanIterate allows you to query dynamo based on the built object .