Index: service/datastore/raw_interface.go |
diff --git a/service/datastore/raw_interface.go b/service/datastore/raw_interface.go |
index 96e54d3370311ffb63b4a2e01065ab94d0a2bc80..c15840c12388d324dbfe8c739a05bd52b9b09725 100644 |
--- a/service/datastore/raw_interface.go |
+++ b/service/datastore/raw_interface.go |
@@ -184,7 +184,16 @@ type RawInterface interface { |
// - cb is not nil |
DeleteMulti(keys []*Key, cb DeleteMultiCB) error |
- // Testable returns the Testable interface for the implementation, or nil if |
- // there is none. |
- Testable() Testable |
+ // WithoutTransaction returns a derived Context without a transaction applied. |
+ // This may be called even when outside of a transaction, in which case the |
+ // input Context is a valid return value. |
+ WithoutTransaction() context.Context |
+ |
+ // CurrentTransaction returns a reference to the current Transaction, or nil |
+ // if the Context does not have a current Transaction. |
+ CurrentTransaction() Transaction |
+ |
+ // GetTestable returns the Testable interface for the implementation, or nil |
+ // if there is none. |
+ GetTestable() Testable |
} |