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

Create new query builder with built in interceptors #23

Open
kostyazgara opened this issue Oct 28, 2022 · 0 comments
Open

Create new query builder with built in interceptors #23

kostyazgara opened this issue Oct 28, 2022 · 0 comments

Comments

@kostyazgara
Copy link
Contributor

I'm submitting a...


[ ] Regression 
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

There is only comfortable way how to create new builder with running interceptors is create in repository method. But we have some situations when we need to get query builder with all functionality inside of interceptor. For instance we need to calculate total count and thus it must be completely new query builder with interceptors

Expected behavior

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Knexion version: X.Y.Z

 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

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

No branches or pull requests

1 participant