4 ms·
I think OP is getting the wrong idea from the screen shot in the article. There's a pic of an SQL query being run from a terminal. They might be thinking that i
by MichaelApproved 7y ago
I think OP is getting the wrong idea from the screen shot in the article. There's a pic of an SQL query being run from a terminal. They might be thinking that it's a screen shot from the actual code.
- aloknnikhil 7y agoIt's open source. https://github.com/RoganMurley/Ring-of-Worlds/blob/master/server/src/User.hs https://github.com/RoganMurley/Ring-of-Worlds/blob/master/se...
- anyfoo 7y agoThis looks perfectly fine? Are you referring to the fact that they don't escape special characters like ' in the string? With the proper interfaces, like using prepared statements (which this likely uses in the backend, if this is an actual SQL db), instead of putting queries together just by concatenating strings, escaping strings is not only unnecessary but actively harmful.