Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference exec and execAsPipeline methods. #2674

Open
Dr-klo opened this issue Dec 22, 2023 · 2 comments
Open

Difference exec and execAsPipeline methods. #2674

Dr-klo opened this issue Dec 22, 2023 · 2 comments

Comments

@Dr-klo
Copy link

Dr-klo commented Dec 22, 2023

Description

Hello. What the difference between exec and execAsPipeline commands in multi pipeline.
Thanks.

@leibale
Copy link
Collaborator

leibale commented Dec 25, 2023

exec will execute them with MULTI at the start and EXEC at the end, while execAsPipeline will execute them "normally" and collect all the results into an array.

This definitely should be in the docs, I'll leave this issue open for now..

@SanariSan
Copy link

It would also be beneficial to include a discussion of the pros and cons regarding performance (speed) and data integrity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants