Django Book 翻译
菜单>:
TOC
返回
原文:
Finally, we have ``all()`` . This is a method on the ``objects`` manager that returns all the rows in the database. Though this object *looks* like a list, its actually a *QuerySet* an object that represents some set of rows from the database. Appendix C deals with QuerySets in detail. For the rest of this chapter, well just treat them like the lists they emulate.
翻译:
最后,还有 ``all()`` 方法。这是 ``objects`` 管理器返回所有记录的一个方法。 尽管这个对象 *看起来* 象一个列表(list),它实际是一个 *QuerySet* 对象, 这个对象是数据库中一些记录的集合。附录C将详细描述QuerySet,现在,我们 就先当它是一个仿真列表对象好了。
备注:
译者: