When writing some new SQL queries, I was wondering, would there be a downside to allowing direct newlines in strings?
I.e. sample code:
mixed r = db->big_typed_query(" SELECT invno FROM mutation mu WHERE mu.mutid = 12 ");
would then just work. And if that is not desirable, any other suggestions which do not involve ugliness like:
mixed r = db->big_typed_query("" "SELECT invno " " FROM mutation mu " " WHERE mu.mutid = 12 " "");
or
mixed r = db->big_typed_query(" \ SELECT invno \ FROM mutation mu \ WHERE mu.mutid = 12 \ ");