Skip to content

Conversation

@ppalex7
Copy link

@ppalex7 ppalex7 commented Nov 7, 2025

Adding the ability to use "view primary key" hint in queries.

Pull request type

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

What is the current behavior?

When I'm trying to use table's .useIndex("PRIMARY KEY") hint — it quotes keyword in result query, causing the syntax error.

Issue Number: N/A

What is the new behavior?

Introduced new base class for YDB tables with helper method .viewPrimaryKey().

Other information

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