// QueryIterate allows you to query dynamo based on the built object.
// the fn parameter will be called as often as needed to retrieve all results
QueryIterate allows you to query dynamo based on the built object.
the fn parameter will be called as often as needed to retrieve all results
// QueryIterate 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) QueryIterate(ctx context.Context, fn func(output *dynamodb.QueryOutput) error) error {
	if s.err != nil {
		return s.err
	}
	if s.client == nil {
		return ErrClientNotSet
	}
	query, err := s.ToQuery()
	if err != nil {
		return err
	}
	return s.client.QueryIterator(ctx, &query, fn)
}
func ( s * Builder ) QueryIterate ( ctx context . Context , fn func ( output * dynamodb . QueryOutput ) error ) error { if s . err != nil { return s . err } if s . client == nil { return ErrClientNotSet } query , err := s . ToQuery ( ) if err != nil { return err } return s . client . QueryIterator ( ctx , & query , fn ) }
QueryIterate allows you to query dynamo based on the built object.
QueryIterate allows you to query dynamo based on the built object .