Skip to content

docs: document options.orderByIndexedField on getFromIndex and query - #143

Merged
abose merged 1 commit into
mainfrom
feat/order-by-indexed-field-docs
Sep 3, 2026
Merged

docs: document options.orderByIndexedField on getFromIndex and query#143
abose merged 1 commit into
mainfrom
feat/order-by-indexed-field-docs

Conversation

@abose

@abose abose commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Documents options.orderByIndexedField = {field, direction: 'ASC'|'DESC'} on getFromIndex and query, matching libmysql 1.0.52 and the upcoming cocodb server change.
  • The client already forwards options verbatim, so there is no behaviour change; new unit tests assert the option is sent on the wire for both apis.
  • getFromNonIndex is the scan api and does not support the option, as documented.
  • Version bumped to 1.0.29.

Related PRs

Test plan

  • Rebased on latest main; unit tests: 78 passing
  • Lint clean
  • pre-commit and pre-push hooks ran the full build locally

Rollout order

libmysql 1.0.52 (published) → this client (publish 1.0.29) → cocodb server → loginService.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UF3R7vkyyRCF9UE2kosVUs

cocodb 1.0.8+ (via libmysql 1.0.52) accepts
`options.orderByIndexedField = {field, direction}` on getFromIndex and query
to order results by an indexed json field. This client already forwards
options verbatim, so this only documents the option and adds tests asserting
it is sent on the wire. getFromNonIndex does not support it (scan api).

Bumps the version to 1.0.29.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UF3R7vkyyRCF9UE2kosVUs
@sonarqubecloud

sonarqubecloud Bot commented Sep 3, 2026

Copy link
Copy Markdown

@abose
abose merged commit 74bb33e into main Sep 3, 2026
6 checks passed
@abose
abose deleted the feat/order-by-indexed-field-docs branch September 3, 2026 09:05
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