docs: def from_query(query, engine=None, limit=None):
      """
      Execute an ORM style query, and return the result in
      :class:`prettytable.PrettyTable`.
  
      :param query: an ``sqlalchemy.orm.Query`` object.
      :param engine: an ``sqlalchemy.engine.base.Engine`` object.
      :param limit: int, limit rows to return.
  
      :return: a ``prettytable.PrettyTable`` object
  
      **中文文档**
  
      将通过ORM的查询结果中的数据放入prettytable中.
      """
      if limit is not None:
          query = query.limit(limit)
      result_proxy = execute_query_return_result_proxy(query)
      return from_db_cursor(result_proxy.cursor)