escapeString depends on DatabaseClass