本文整理了Java中org.jooq.Field.notBetween()
方法的一些代码示例,展示了Field.notBetween()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Field.notBetween()
方法的具体详情如下:
包路径:org.jooq.Field
类名称:Field
方法名:notBetween
[英]Create a condition to check this field against some bounds.
SQL: this not between minValue and maxValue
[中]创建一个条件,根据某些边界检查此字段。
SQL:this not between minValue and maxValue
代码示例来源:origin: org.jooq/jooq
private final QueryPartInternal delegate(Configuration configuration) {
if (symmetric && NO_SUPPORT_SYMMETRIC.contains(configuration.family()))
return not
? (QueryPartInternal) field.notBetween(minValue, maxValue).and(field.notBetween(maxValue, minValue))
: (QueryPartInternal) field.between(minValue, maxValue).or(field.between(maxValue, minValue));
else
return new Native();
}
代码示例来源:origin: org.jooq/jooq
: not
? left instanceof Field
? ((Field) left).notBetween((Field) r1, (Field) r2)
: ((RowN) left).notBetween((RowN) r1, (RowN) r2)
: left instanceof Field
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics
private final QueryPartInternal delegate(Configuration configuration) {
if (symmetric && asList(CUBRID, DERBY, FIREBIRD, H2, MARIADB, MYSQL, SQLITE).contains(configuration.dialect().family())) {
if (not) {
return (QueryPartInternal) field.notBetween(minValue, maxValue).and(field.notBetween(maxValue, minValue));
}
else {
return (QueryPartInternal) field.between(minValue, maxValue).or(field.between(maxValue, minValue));
}
}
else {
return new Native();
}
}
内容来源于网络,如有侵权,请联系作者删除!