mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 06:57:24 +00:00
#398 - ENH: Support delete using a Query instance
This commit is contained in:
1 parent
ccba5d08ef
commit
1c23720605
21 files changed
+407
-24
No files matched your search
@@ -84,7 +84,12 @@ public interface SpiQuery<T> extends Query<T> {
|
||||
/**
|
||||
* A subquery used as part of a where clause.
|
||||
*/
|
||||
SUBQUERY
|
||||
SUBQUERY,
|
||||
|
||||
/**
|
||||
* Delete query.
|
||||
*/
|
||||
DELETE,
|
||||
}
|
||||
|
||||
enum TemporalMode {
|
||||
@@ -272,6 +277,11 @@ public interface SpiQuery<T> extends Query<T> {
|
||||
*/
|
||||
NaturalKeyBindParam getNaturalKeyBindParam();
|
||||
|
||||
/**
|
||||
* Set the query to be a delete query.
|
||||
*/
|
||||
void setDelete();
|
||||
|
||||
/**
|
||||
* Set the query to select the id property only.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user