Django Book 翻译
菜单>:
TOC
返回
原文:
A ``QuerySet`` represents a collection of objects from your database. It can have zero, one, or many *filters* criteria that narrow down the collection based on given parameters. In SQL terms, a ``QuerySet`` equates to a ``SELECT`` statement, and a filter is a limiting clause such as ``WHERE`` or ``LIMIT`` .
翻译:
``QuerySet`` 代表了你的数据库中的对象的一个集合。它根据所给参数可以构造若干个 *过滤器* 来缩小这个集合的规模。用SQL术语来讲,一个 ``QuerySet`` 就相当于一个 ``SELECT`` 语句,过滤器相当于诸如 ``WHERE`` 或者 ``LIMIT`` 的限定语。
备注:
译者: