You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: unify Insert/Update/Delete API for SQL and vector databases
- Remove all preset constructors (QdrantHighPrecision/HighSpeed/Balanced)
- Remove all preset constructors (MySQLWithUpsert/WithIgnore)
- Remove InsertPoint/InsertPoints methods (not needed)
- Support []float32/[]float64 in InsertBuilder and UpdateBuilder
- JsonOfDelete() auto-sets built.Delete flag internally
- Add Built.SqlOfUpsert() and Built.SqlOfInsertIgnore() convenience methods
- Smart format detection in QdrantCustom for Insert(func) API
Complete API Unification:
- Insert(func) works for both SQL and Qdrant
- Update(func) works for both SQL and Qdrant
- JsonOfDelete() works without extra Delete() method
- Only NewQdrantCustom() and NewMySQLCustom() constructors
Design Philosophy: Don't add concepts to solve problems.
Let users configure via fields or existing closures (QdrantX).
All 140+ tests passing. Documentation fully updated.
0 commit comments