Skip to content

Instantly share code, notes, and snippets.

@donbr
Created April 4, 2025 22:44
Show Gist options
  • Save donbr/d31a592ec1b29a544223080fe868b5d3 to your computer and use it in GitHub Desktop.
Save donbr/d31a592ec1b29a544223080fe868b5d3 to your computer and use it in GitHub Desktop.
vector-db-upsert
flowchart TD
    VDB[Vector Databases] --> OperationTypes[Core Operations]
    
    OperationTypes --> Insert[Insert Operations]
    OperationTypes --> UpdateTypes[Update Operations]
    
    Insert --> AllDBs["All Vector Databases
    (Core functionality)"]
    
    UpdateTypes --> DirectUpdate[Direct Update]
    UpdateTypes --> Upsert[Upsert Operations]
    UpdateTypes --> DeleteInsert[Delete + Insert Pattern]
    
    DirectUpdate --> Weaviate["Weaviate
    (Updates specific properties)"]
    
    DirectUpdate --> Qdrant["Qdrant
    (Dedicated update_vectors API)"]
    
    Upsert --> Pinecone["Pinecone
    (Overwrites vectors with same ID)"]
    
    DeleteInsert --> Milvus["Milvus
    (No direct update operation)"]
    
    style Insert fill:#d8f8e1
    style DirectUpdate fill:#d4f1f9
    style Upsert fill:#d4f1f9
    style DeleteInsert fill:#d4f1f9
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment