Chunk #545
Aus: Validators (Index: 1)
92
Tokens
Synced
Status
Taxonomie
| Kategorie | Hauptkategorie |
|---|---|
| Pfad | Hauptkategorie > Unterkategorie > Thema |
| Heading-Pfad | Validators > MCP-DB Validators > QueryValidator |
Entities
| Name | Typ |
|---|---|
| QueryValidator | SERVICE |
| Regex | TECHNOLOGY |
| Table Name Extraction | CONCEPT |
Keywords
Inhalt
return True, ""
@staticmethod
def _extract_table_names(query_upper: str) -> list:
"""Extrahiert Tabellennamen aus FROM und JOIN Clauses"""
tables = []
from_match = re.findall(r'\bFROM\s+([a-zA-Z0-9_\.]+)', query_upper)
join_match = re.findall(r'\bJOIN\s+([a-zA-Z0-9_\.]+)', query_upper)
tables.extend(from_match)
tables.extend(join_match)
return tables`
```
Clean Content
return True, "" @staticmethod def _extract_table_names(query_upper: str) -> list: """Extrahiert Tabellennamen aus FROM und JOIN Clauses""" tables = [] from_match = re.findall(r'\bFROM\s+([a-zA-Z0-9_\.]+)', query_upper) join_match = re.findall(r'\bJOIN\s+([a-zA-Z0-9_\.]+)', query_upper) tables.extend(from_match) tables.extend(join_match) return tables` ```
Metadaten
| Analysiert am | 20.12.2025 12:43:47 |
|---|---|
| Analyse-Modell | gemma3:4b-it-qat |
| Embedding-Modell | mxbai-embed-large |
| Qdrant-ID | 13fae915-1dcf-496e-ad98-4cdc028075df |
| Erstellt | 20.12.2025 12:34:42 |
| Aktualisiert | 20.12.2025 12:53:39 |