docs: def save_load(jid, clear_load, minions=None):
      '''
      Save the load to the specified jid id
      '''
      jid = _escape_jid(jid)
      conn = _get_conn()
      if conn is None:
          return None
      cur = conn.cursor()
      sql = '''INSERT INTO jids ''' \
            '''(jid, started, tgt_type, cmd, tgt, kwargs, ret, username, arg,''' \
            ''' fun) ''' \
            '''VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s)'''
  
      cur.execute(
          sql, (
              jid,
              salt.utils.jid.jid_to_time(jid),
              six.text_type(clear_load.get("tgt_type")),
              six.text_type(clear_load.get("cmd")),
              six.text_type(clear_load.get("tgt")),
              six.text_type(clear_load.get("kwargs")),
              six.text_type(clear_load.get("ret")),
              six.text_type(clear_load.get("user")),
              six.text_type(salt.utils.json.dumps(clear_load.get("arg"))),
              six.text_type(clear_load.get("fun")),
          )
      )
      # TODO: Add Metadata support when it is merged from develop
      _close_conn(conn)