其次是根据业务需求为你的接口增加查询方法
The next step is adding methods for your queries to the interface that serve your business requirements
例如,要将条目数目改为 100,添加查询字符串参数num=100 。
To change the number of entries to 100 (for example), add the query string parameter num=100.
还记得当我们增加查看用户所分配的所有计算机功能的时候曾简单地提过动态方法吗?
Recall our brief mention of dynamic methods back when we added the ability to see all computers assigned to a user?
附加查询选项的实例是一些设置,例如是否在查询结果中返回拼写建议或包含同义词扩展。
Examples of additional query options are Settings such as whether to return spelling Suggestions or to include synonym expansions in the query results.
在这个图书馆应用程序中,需要为Book实体添加查询工具以便返回指定作者的所有书籍。
In this library application, a finder needs to be added to the Book entity to return a collection of Books for a given Author's name.
改进迷你模式,增加查找功能。
此标识符本身可以是附加查询命令的生成器。
This identifier can itself be a generator for additional query commands.
随着您添加查询、窗体和报表,它会变得更易于使用。
As you add queries, forms, and reports, it becomes easier to use.
在这喜乐之外的还有在家中接待人来参加查经小组和用餐。
Added to these is the joy of hosting people in our home for small group Bible study and meals.
因为车胎爆了,我们去参加查理的生日盛会时晚了两个小时。
We arrived two hours late at the big blow-out for Charle's birthday because our car had a blow-out.
前线海关人员亦已提高警觉,采用风险管理,在所有边境管制站增加查验可疑的入口货物和旅客行李。
Frontline officers remain vigilant. Adopting a risk management approach, inspections of suspected cargoes and passengers baggage have been intensified at all the border control points.
在根目录,在没有添加查询字符串参数的情况下,我们会看到一个餐馆列表,当然,全都是HTML代码。
At the root, with no query string parameters we get the list of restaurants, all in HTML of course.
假货横行的国家可能并不会严加查验,这样官方的数字会好看一些;相反,假货较少的国家倒会警觉起来,缉获更多的假货。
The countries with the most fakes may not be cracking down, so official figures will look rosy; in contrast, countries with a smaller counterfeit trade that are vigilant may end up with more seizures.
如果在“条件”窗格或“SQL”窗格中手动向聚合函数添加查询输出列,则查询和视图设计器不能自动从查询中移除其他输出列。
If you manually add a query output column to an aggregate function in either the Criteria or SQL pane, the query and View Designer does not automatically remove other output columns from the query.
一旦理解了自己的选择,就可以通过调整OPTCOMPIND参数,或者通过添加查询指示或索引,来影响优化器,从而选择最佳的查询执行计划。
Once you understand your options, you can influence the optimizer to select the best query execution plan, either by adjusting the OPTCOMPIND parameter or by adding query directives or indexes.
一旦理解了自己的选择,就可以通过调整OPTCOMPIND参数,或者通过添加查询指示或索引,来影响优化器,从而选择最佳的查询执行计划。
Once you understand your options, you can influence the optimizer to select the best query execution plan, either by adjusting the OPTCOMPIND parameter or by adding query directives or indexes.
应用推荐