org.h2.command.dml.Query.allowGlobalConditions()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(218)

本文整理了Java中org.h2.command.dml.Query.allowGlobalConditions方法的一些代码示例,展示了Query.allowGlobalConditions的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.allowGlobalConditions方法的具体详情如下:
包路径:org.h2.command.dml.Query
类名称:Query
方法名:allowGlobalConditions

Query.allowGlobalConditions介绍

[英]Check whether adding condition to the query is allowed. This is not allowed for views that have an order by and a limit, as it would affect the returned results.
[中]检查是否允许向查询中添加条件。对于具有order by和限制的视图,这是不允许的,因为这会影响返回的结果。

代码示例

代码示例来源:origin: com.h2database/h2

@Override
public boolean allowGlobalConditions() {
  return left.allowGlobalConditions() && right.allowGlobalConditions();
}

代码示例来源:origin: com.h2database/h2

return q;
if (!q.allowGlobalConditions()) {
  return q;

代码示例来源:origin: org.wowtools/h2

@Override
public boolean allowGlobalConditions() {
  return left.allowGlobalConditions() && right.allowGlobalConditions();
}

代码示例来源:origin: com.eventsourcing/h2

@Override
public boolean allowGlobalConditions() {
  return left.allowGlobalConditions() && right.allowGlobalConditions();
}

代码示例来源:origin: com.eventsourcing/h2

return q;
if (!q.allowGlobalConditions()) {
  return q;

代码示例来源:origin: org.wowtools/h2

return q;
if (!q.allowGlobalConditions()) {
  return q;

相关文章