ComputerScienceHouse / ComputerScienceHouse/conditional

Optimize SQL Queries

Offen
#127 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement good first issue
Vorherrschende Sprache
Python
Sterne
12
Forks
39
Ø Merge
1 T. 13 Std.
Gemergte PRs (30 T.)
1

Beschreibung

We have fallen into the ease of if statements in python list comprehension. This is negatively affecting our query efficiency. We need to move to more complex queries (using table joins, etc.) instead of falling into the `[a for a in query_a if query_b]` alternative.

Making a query for every result in the first query isn't necessary and these operations can be made far more efficient.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.