Skip to content

Update from code changes: document paginated listTables in TS SDK - #337

Open
mintlify[bot] wants to merge 3 commits into
mainfrom
mintlify/bfbaafbc
Open

Update from code changes: document paginated listTables in TS SDK#337
mintlify[bot] wants to merge 3 commits into
mainfrom
mintlify/bfbaafbc

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

The TypeScript SDK added a paginated listTables method that returns a page of table names alongside an opaque pageToken for resuming, and deprecated tableNames. Under the hood, list_tables now pages the object store directly, so its results come back in an arbitrary, backend-defined order while table_names keeps lexicographical ordering and start-after semantics. This PR documents the new API on the "Open an existing table" section of tables/create.mdx, including a walk-the-pages example, namespace-scoped usage, and a callout about the ordering change.

Upstream PRs:

Changes

  • Added a "List tables in pages" subsection under tables/create.mdx explaining listTables, its pageToken/limit options, and noting that tableNames is deprecated.
  • Included TypeScript examples for walking pages until pageToken is empty and for listing a specific namespace path.
  • Added a warning that listTables / list_tables return tables in arbitrary order and that callers who need lexical ordering with startAfter should stick with the deprecated tableNames / table_names.

Update history

@mintlify

mintlify Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lancedb-bcbb4faf 🟢 Ready View Preview Aug 24, 2026, 11:29 PM

@mintlify

mintlify Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

Update from code changes updated this PR.

Added arbitrary-ordering warning for listTables and noted tableNames retains lexical order

Source PRs

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.

0 participants