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

Add support for the pool_id parameter #426

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

polRk
Copy link
Member

@polRk polRk commented Oct 30, 2024

Add support for the pool_id parameter #423.

About pool_id - https://ydb.tech/docs/ru/dev/resource-consumption-management#sozdanie-pula-resursov

Pull request type

Please check one the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What does it do?

Adds the ability to specify pool_id in the query parameters from the query service

Why is it needed?

For https://ydb.tech/docs/ru/dev/resource-consumption-management#sozdanie-pula-resursov

How to test it?

    await driver.queryClient.do({
        fn: async (session) => {
            await session.execute({
                text: `SELECT 1;`,
                poolId: 'my-pool-id'
            });
        },
    });

Related issue(s)/PR(s)

#423

@polRk polRk merged commit 1098749 into main Oct 30, 2024
5 checks passed
@polRk polRk deleted the add-support-for-pool-id branch October 30, 2024 19:09
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

Successfully merging this pull request may close these issues.

1 participant