本文整理了Java中io.ebean.Query.findSingleAttributeList
方法的一些代码示例,展示了Query.findSingleAttributeList
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.findSingleAttributeList
方法的具体详情如下:
包路径:io.ebean.Query
类名称:Query
方法名:findSingleAttributeList
[英]Execute the query returning a list of values for a single property.
List names =
List names =
[中]执行查询,返回单个属性的值列表。
####例1:
List names =
####例2:
List names =
代码示例来源:origin: ebean-orm/ebean
@Override
public <A> List<A> findSingleAttributeList() {
return query.findSingleAttributeList();
}
代码示例来源:origin: io.ebean/ebean
@Override
public <A> List<A> findSingleAttributeList() {
return query.findSingleAttributeList();
}
代码示例来源:origin: org.actframework/act-ebean
@Override
public <A> List<A> findSingleAttributeList() {
return qReadOnly.findSingleAttributeList();
}
代码示例来源:origin: org.actframework/act-ebean2
@Override
public <A> List<A> findSingleAttributeList() {
return q.findSingleAttributeList();
}
代码示例来源:origin: io.ebean/ebean-querybean
/**
* Execute the query returning a list of values for a single property.
* <p>
* <h3>Example</h3>
* <pre>{@code
*
* List<String> names =
* new QCustomer()
* .setDistinct(true)
* .select(name)
* .findSingleAttributeList();
*
* }</pre>
*
* @return the list of values for the selected property
*/
@Nonnull
public <A> List<A> findSingleAttributeList() {
return query.findSingleAttributeList();
}
内容来源于网络,如有侵权,请联系作者删除!