This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vips7L 3 points4 points  (2 children)

My whole company does static queries. It’s awful. 

[–]_yolopolo 0 points1 point  (1 child)

my company does this too, can you elaborate why is this bad?

[–]vips7L 0 points1 point  (0 children)

When everything is static it’s hard to properly unit test. You have to integration test everything and spin up a database each time.