mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 06:57:24 +00:00
#461 - ENH: Add @Draftable support - phase 1
This commit is contained in:
1 parent
42e7103aa6
commit
7b76e13bce
56 files changed
+944
-214
No files matched your search
@@ -94,6 +94,11 @@ public interface SpiQuery<T> extends Query<T> {
|
||||
}
|
||||
|
||||
enum TemporalMode {
|
||||
/**
|
||||
* Query runs against draft tables.
|
||||
*/
|
||||
DRAFT,
|
||||
|
||||
/**
|
||||
* Query runs against current data (normal).
|
||||
*/
|
||||
@@ -171,6 +176,11 @@ public interface SpiQuery<T> extends Query<T> {
|
||||
*/
|
||||
boolean isAsOfQuery();
|
||||
|
||||
/**
|
||||
* Return true if this is a 'As Draft' query.
|
||||
*/
|
||||
boolean isAsDraft();
|
||||
|
||||
/**
|
||||
* Return the asOf Timestamp which the query should run as.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user