Skip to content

feat: add listIds() to vector drivers#15

Merged
harlan-zw merged 1 commit intomainfrom
feat/list-ids-all-drivers
Apr 1, 2026
Merged

feat: add listIds() to vector drivers#15
harlan-zw merged 1 commit intomainfrom
feat/list-ids-all-drivers

Conversation

@oritwoen
Copy link
Copy Markdown
Collaborator

All vector drivers except cloudflare were missing listIds() - so remove() with chunking just threw a generic error. Now libsql, pgvector, sqlite-vec, and upstash all implement it.

Cloudflare Vectorize binding doesn't expose a list method (only available via REST API), so that one stays without. Added comment explaining the limitation and updated error message to mention it.

Enables remove() with chunking for all vector drivers that support it.
Without listIds(), createRetriv throws when using chunking with remove().

Cloudflare Vectorize is excluded — its binding API has no list/range
capability to enumerate stored vector IDs. Added a comment explaining
the limitation and improved the error message to mention it.
@oritwoen oritwoen self-assigned this Mar 31, 2026
@oritwoen oritwoen requested a review from harlan-zw March 31, 2026 16:25
@harlan-zw harlan-zw merged commit da30eb5 into main Apr 1, 2026
1 check passed
@harlan-zw harlan-zw deleted the feat/list-ids-all-drivers branch April 1, 2026 01:33
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.

2 participants