Filtering that stayed fast
Users wanted to combine many optional filters. Building SQL by string concatenation would have been both unsafe and unpredictable to index, so filters were composed as parameterised predicates over a fixed query shape, with indexes chosen for the combinations people actually used.