您不认为直接执行查询更好一些吗?
Don't you think it would be better to execute the query directly?
需要对数据库执行查询来获取。
You need to get them by running a query against the database.
现在只需要编写一个执行查询的函数。
Now, all that's left is to build a function for executing this query.
我们仅需一次执行查询。
在对象模型上执行查询。
第三部分详细地解释了所执行查询的每一步。
The third part is the detailed explanation of every step the query executed.
LOCKTYPE_SELECT:值为1,使用通常的select语句执行查询。
LOCKTYPE_SELECT: value is 1; use the normal SELECT statement to do the query.
最后,您需要设置将对注册中心执行的查询字符串。
Finally, you need to set the query string that you will execute on the registry.
执行中使用查询排序。
现在,让我们来编写一个执行测试查询的简单应用程序(请参见清单2)。
So, let's write a simple app to perform a test query (see Listing 2).
原始查询及其执行计划。
同步块在工作项目上的员工查询完成之前执行。
The synchronization block was performed before the staff query was done on the work item.
当第一次访问一个惰性关联的实例时,执行一个查询。
The first time an instance of a lazy association is traversed, a query is executed.
add_user . php中的代码首先执行一个查询以找到id的最大值。
The code in add_user.php first performs a query to find the maximum value of the id.
首先,执行一个SQL查询以获取 status_updates表的内容。
First, perform an SQL query to get back the contents of your status_updates table.
执行顺序可能对查询结果有明显的影响。
The order of execution can significantly affect the query result.
执行一个简单的SQL查询,然后将结果传递给工厂。
You perform a simple SQL query, and then pass the results to your factory.
这就是延迟加载,即尽可能长的延迟查询语句的执行。
This is lazy loading, or deferring the query as long as possible.
执行该查询将返回与图8一样的结果。
Executing this query should return a result like the one in Figure 8.
考虑对SAMPLE数据库的employee表执行如下查询。
Consider the following query on the EMPLOYEE table in the SAMPLE database.
执行相同的查询。
您可以对文档执行一些查询。
要获得信息,您要做的就是执行一次查询。
All you have to do to get the information out is make a query.
无法撤消执行“更新”查询的操作。
Framework Manager 执行此查询,应该会看到与图7相似的输出。
The query is executed, and you should see output similar to Figure 7.
解决方案是用一个函数来执行大量的查询,如下所示。
The solution is to have one function that performs one bulk query, as shown below.
当这条语句执行的时候,子查询会先执行.
When this statement is executed, the subquery is evaluated first.
如果执行进一步的查询,那么查询将从这3个元素开始。
Should you decide to execute a further query, it would begin from these three elements.
因此,可在查询上执行的大部分操作都可在视图上执行。
Thus, most operations you can perform on queries you can also perform on views.
获取正在运行的查询的可执行id。
应用推荐