code: def get_jid(jid):
      '''
      Return the information returned from a specified jid
      '''
      log.debug('sqlite3 returner <get_jid> called jid: %s', jid)
      conn = _get_conn(ret=None)
      cur = conn.cursor()
      sql = '''SELECT id, full_ret FROM salt_returns WHERE jid = :jid'''
      cur.execute(sql,
                  {'jid': jid})
      data = cur.fetchone()
      log.debug('query result: %s', data)
      ret = {}
      if data and len(data) > 1:
          ret = {six.text_type(data[0]): {'return': salt.utils.json.loads(data[1])}}
          log.debug('ret: %s', ret)
      _close_conn(conn)
      return ref get_jid(jid):
      '''
      Return the information returned from a specified jid
      '''
      log.debug('sqlite3 returner <get_jid> called jid: %s', jid)
      conn = _get_conn(ret=None)
      cur = conn.cursor()
      sql = '''SELECT id, full_ret FROM salt_returns WHERE jid = :jid'''
      cur.execute(sql,
                  {'jid': jid})
      data = cur.fetchone()
      log.debug('query result: %s', data)
      ret = {}
      if data and len(data) > 1:
          ret = {six.text_type(data[0]): {'return': salt.utils.json.loads(data[1])}}
          log.debug('ret: %s', ret)
      _close_conn(conn)
      return ret
docs: Return the information returned from a specified jid