docs: def unescape_sql(inp):
      """
      :param inp: an input string to be unescaped
      :return: return the unescaped version of the string.
      """
      if inp.startswith('"') and inp.endswith('"'):
          inp = inp[1:-1]
      return inp.replace('""','"').replace('\\\\','\\')