Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 387 Bytes

File metadata and controls

18 lines (16 loc) · 387 Bytes

Replace Query with Parameter

inverse of: Replace Parameter with Query

Why?

  • You have code where you calling a query method and passing its results as the parameters of another method, while that method could call the query directly.

Benefits:

What?

How?

Sample

Before

After refactoring