本文整理了Java中io.ebean.Query.findVersionsBetween
方法的一些代码示例,展示了Query.findVersionsBetween
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.findVersionsBetween
方法的具体详情如下:
包路径:io.ebean.Query
类名称:Query
方法名:findVersionsBetween
[英]Return versions of a @History entity bean between the 2 timestamps.
Generally this query is expected to be a find by id or unique predicates query. It will execute the query against the history returning the versions of the bean.
[中]返回两个时间戳之间@History实体bean的版本。
通常,该查询应为按id查找或唯一谓词查询。它将对返回bean版本的历史记录执行查询。
代码示例来源:origin: ebean-orm/ebean
@Override
public List<Version<T>> findVersionsBetween(Timestamp start, Timestamp end) {
return query.findVersionsBetween(start, end);
}
代码示例来源:origin: io.ebean/ebean
@Override
public List<Version<T>> findVersionsBetween(Timestamp start, Timestamp end) {
return query.findVersionsBetween(start, end);
}
代码示例来源:origin: org.actframework/act-ebean
@Override
public List<Version<MODEL_TYPE>> findVersionsBetween(Timestamp timestamp, Timestamp timestamp1) {
return qReadOnly.findVersionsBetween(timestamp, timestamp1);
}
代码示例来源:origin: org.actframework/act-ebean2
@Override
public List<Version<MODEL_TYPE>> findVersionsBetween(Timestamp timestamp, Timestamp timestamp1) {
return q.findVersionsBetween(timestamp, timestamp1);
}
代码示例来源:origin: io.ebean/ebean-querybean
/**
* Return versions of a @History entity bean between a start and end timestamp.
* <p>
* Generally this query is expected to be a find by id or unique predicates query.
* It will execute the query against the history returning the versions of the bean.
* </p>
*/
@Nonnull
public List<Version<T>> findVersionsBetween(Timestamp start, Timestamp end) {
return query.findVersionsBetween(start, end);
}
代码示例来源:origin: icode/ameba
/**
* {@inheritDoc}
*/
@Override
public List<Version<T>> findVersionsBetween(Timestamp start, Timestamp end) {
return query().findVersionsBetween(start, end);
}
代码示例来源:origin: icode/ameba
applyUriQuery(query, false);
applyPageConfig(query);
List<Version<MODEL>> list = query.findVersionsBetween(start, end);
rowCount.set(fetchRowCount(query));
return processFetchedHistoryModelList(list, mId, start, end);
内容来源于网络,如有侵权,请联系作者删除!