Prefer db functions over client queries?

Is there a downside to just plopping all queries into a db function? Or should I just focus on making db functions for complex queries and continue using client code for simple queries? I doubt there's much difference for simple ones, right?
Was this page helpful?