We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// Need to access private properties turso has security risks await (defaultVectorDBas any).turso.execute(`DELETE FROM ...`)
The current DefaultVectorDB class lacks methods for single-record operations. Real-world use cases require:
DefaultVectorDB
Deleting specific vector records by ID
Updating record metadata or vectors by ID Proposed API additions:
interface DefaultVectorDB { deleteById(indexName: string, id: string): Promise<void>; updateById( indexName: string, id: string, update: { vector?: number[]; metadata?: Record<string, any>; } ): Promise<void>; }
mastra/packages/core/src/vector/libsql/index.ts Line 12 in 788b45c export class DefaultVectorDB extends MastraVector {
mastra/packages/core/src/vector/libsql/index.ts
Line 12 in 788b45c
The text was updated successfully, but these errors were encountered:
Hi @blinko-space, great idea! We're up for a contribution if you'd like but we can do it otherwise!
Sorry, something went wrong.
@vishesh-baghel from the Discord said he wanted to work on this one
No branches or pull requests
Problem Description :
The current
DefaultVectorDB
class lacks methods for single-record operations. Real-world use cases require:Deleting specific vector records by ID
Updating record metadata or vectors by ID
Proposed API additions:
The text was updated successfully, but these errors were encountered: