本文整理了Java中com.avaje.ebean.Query.having
方法的一些代码示例,展示了Query.having
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.having
方法的具体详情如下:
包路径:com.avaje.ebean.Query
类名称:Query
方法名:having
[英]Add Expressions to the Having clause return the ExpressionList.
Currently only beans based on raw sql will use the having clause.
Note that this returns the ExpressionList (so you can add multiple expressions to the query in a fluent API way).
[中]将表达式添加到Having子句,以返回表达式列表。
目前只有基于原始sql的bean才会使用having子句。
请注意,这将返回ExpressionList(因此您可以以流畅的API方式向查询中添加多个表达式)。
代码示例来源:origin: org.actframework/act-ebean-java7
@Override
public EbeanQuery<MODEL_TYPE> having(Expression addExpressionToHaving) {
q.having(addExpressionToHaving);
qReadOnly.having(addExpressionToHaving);
return this;
}
代码示例来源:origin: org.actframework/act-ebean-java7
@Override
public ExpressionList<MODEL_TYPE> having() {
return q.having();
}
代码示例来源:origin: org.avaje.ebean/ebean
@Override
public ExpressionList<T> having() {
return query.having();
}
代码示例来源:origin: org.avaje.ebeanorm/avaje-ebeanorm-server
public ExpressionList<T> having() {
return query.having();
}
代码示例来源:origin: org.avaje/ebean
public ExpressionList<T> having() {
return query.having();
}
代码示例来源:origin: com.typesafe.play/play-java-ebean
/**
* Returns the query's <code>having</code> clause.
*/
public ExpressionList<T> having() {
return query().having();
}
代码示例来源:origin: com.typesafe.play/play-java-ebean
/**
* Adds an expression to the <code>having</code> clause and returns the query.
*/
public Query<T> having(com.avaje.ebean.Expression addExpressionToHaving) {
return query().having(addExpressionToHaving);
}
代码示例来源:origin: com.typesafe.play/play-java-ebean
/**
* Adds clauses to the <code>having</code> clause and returns the query.
*/
public Query<T> having(String addToHavingClause) {
return query().having(addToHavingClause);
}
代码示例来源:origin: org.actframework/act-ebean-java7
private void syncEbeanQueries() {
_sync("detail");
q.orderBy();
_sync("orderBy");
q.text();
_sync("textExpressions");
q.where();
_sync("whereExpressions");
q.having();
_sync("havingExpressions");
}
内容来源于网络,如有侵权,请联系作者删除!