对于具有短小、重复的查询的应用程序,建议这样做。
This is recommended for applications with short and repetitive queries.
在异步模式下,提交的查询在以后某个时候执行,也可能重复执行。
In the asynchronous mode, the query is submitted for a later, possibly repeated, execution.
对于这个示例查询,最好使用文本而不是参数标记,并接受重复的准备阶段,如清单7所示。
For this example query, it would be better to use literals instead of parameter markers and to accept the repeated prepare phase, as shown in Listing 7.
应用推荐