MA
No man. Never in apex (at least since 5.0, never worked with lower versions) any sql code of any kind was exposed to the DOM or is served in any static file.
If you want limit yourself to only use Apex for "in-house" use, good for you. But the things that you are saying just don't make any kind of sense.
If you want limit yourself to only use Apex for "in-house" use, good for you. But the things that you are saying just don't make any kind of sense.
