还可以使用伪列值按照宽度优先顺序对查询结果进行排序。
The pseudo column value is also used to sort the query results in breadth-first sequence.
提供有关如何使用LINQ 对查询结果进行排序的示例。
Provides an example of how to order the results of a query by using LINQ.
指定关联的数据列用于对查询结果进行排序,并指定排序是升序还是降序。
Specifies that the associated data column is used to sort the query results and whether the sort is ascending or descending.
例如,当您希望按照没有在结果中返回的字段对查询结果进行排序时,必须这样做。
One example of when you would have to do this is when you want to sort your query by fields that are not returned as part of the result.
按照降序对结果进行排序,并开始分析具有最高值的查询。
Sort the results in descending order, and start analyzing the query that has the highest value.
注意Objectify 的查询代码:service实例支持根据属性(在本例中是 owner)过滤,甚至对结果进行排序。
Notice Objectify's query code: the service instance supports filtering by property (in this case owner) and even ordering the results.
清单21中的例子创建了一个根据名称对结果进行排序的查询,然后编辑该查询以根据邮政编码进行查询。
The example in Listing 21 creates a query that orders its result by name and then edits the query to order also by ZIP code.
XQuery添加了一个更加xml化的SQL版本,允许构建查询、对结果进行排序,并在查询中使用实际的where语句。
XQuery adds more of an XML-ized version of SQL, allowing you to build queries, sort and order results, and use actual WHERE statements in your queries.
提供有关如何使用LINQ对ꢔ查询结果进行排序的示例。
Provides example of how to order the results of a query by using LINQ.
提供有关如何使用LINQ对ꢔ查询结果进行排序的示例。
Provides example of how to order the results of a query by using LINQ.
应用推荐