WARNING: this is as susceptible to SQL injections as you would be writing it out by hand
See Implementation
WARNING: this is as susceptible to SQL injections as you would be writing it out by hand