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

Stored Procedure support for Rails 7 #load_async #1012

Open
frederikspang opened this issue Mar 7, 2022 · 1 comment
Open

Stored Procedure support for Rails 7 #load_async #1012

frederikspang opened this issue Mar 7, 2022 · 1 comment
Labels

Comments

@frederikspang
Copy link
Contributor

Issue

We should support the new Rails 7 load_async method for ActiveRecord::Base.execute_procedure calls.
This obviously requires a few changes, such as utilizing query building as is the case when using Model.where and other lazy-loaded query forms, instead of simply passing through the query to dblib_execute directly.
This might require some changes in Rails, such as rails/rails#44169

I don't know if this has been brought up before, or has been discussed.

@aidanharan
Copy link
Contributor

We should be able to make use of rails/rails#44446 to support async stored procedure calls.

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

No branches or pull requests

2 participants