--- extractMetadataInternal ---
(t *testing.T)
| 168 | // --- extractMetadataInternal --- |
| 169 | |
| 170 | func TestExtractMetadataInternal_EmptySQL(t *testing.T) { |
| 171 | _, err := extractMetadataInternal("") |
| 172 | if err == nil { |
| 173 | t.Fatal("expected error for empty sql") |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | func TestExtractMetadataInternal_WithJoins(t *testing.T) { |
| 178 | data, err := extractMetadataInternal("SELECT u.id, o.total FROM users u JOIN orders o ON u.id = o.user_id") |
nothing calls this directly
no test coverage detected