static String escape(CharSequence oql) {
    return oql.toString().replace("'", "''");
  }
Replace single quote {@code '} with two quotes {@code ''}

<p>From <a href="https://www.postgresql.org/docs/9.1/sql-syntax-lexical.html">SQL syntax in PostgreSQL</a>:
 <pre>
   To include the escape character in the identifier literally, write it twice.
 </pre>
</p>
@param oql string to escape
@return escaped string
@see
criteria/geode/src/org/immutables/criteria/geode/OqlLiterals.java