HomePhabricator

dal: Refactor and update SQL queries

Tags
None
Referenced Files
None
Subscribers
None

Description

dal: Refactor and update SQL queries

  • Hoist SQL strings out of methods.
  • Use named parameters rather than positional where possible.
  • Fix arguments to get_category_members's SQL that have been incorrect since 197a5721 swapped the sequence of category and hours in the SQL body.

Details

Provenance
bd808Authored on Jun 6 2023, 6:30 PM
Parents
R3254:6560a871ae80: new_category_member: Add custom test behavior
Branches
Unknown
Tags
Unknown
ChangeId
None