Index: service/datastore/raw_interface.go |
diff --git a/service/datastore/raw_interface.go b/service/datastore/raw_interface.go |
index 8c385472dc93a1d9cd07aaa4913afb70491fb9ff..5d4fca391a285e0f2d2e6ff73fb28e829395eb4c 100644 |
--- a/service/datastore/raw_interface.go |
+++ b/service/datastore/raw_interface.go |
@@ -129,6 +129,10 @@ type RawInterface interface { |
// - cb is not nil |
Run(q *FinalizedQuery, cb RawRunCB) error |
+ // Count executes the given query and returns the number of entries which |
+ // match it. |
+ Count(q *FinalizedQuery) (int64, error) |
+ |
// GetMulti retrieves items from the datastore. |
// |
// Callback execues once per key, in the order of keys. Callback may not |