realKBRepo is the minimal KnowledgeBaseRepository slice required by the vector-store service (only CountByVectorStoreID is exercised here).
| 909 | // realKBRepo is the minimal KnowledgeBaseRepository slice required by the |
| 910 | // vector-store service (only CountByVectorStoreID is exercised here). |
| 911 | type realKBRepo struct{ db *gorm.DB } |
| 912 | |
| 913 | func (r *realKBRepo) CountByVectorStoreID(ctx context.Context, db *gorm.DB, tenantID uint64, storeID string) (int64, error) { |
| 914 | if db == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected