I've been using PDO::quote to generate SQL statements. I use the generated SQL to create a memcached
key. I'd like to avoid having to create a connection solely for the purpose of escaping SQL values.
What is the purpose of needing to establish a connection to use PDO::quote method and can it be avoided?