diff options
Diffstat (limited to 'common/store.h')
-rw-r--r-- | common/store.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/store.h b/common/store.h index aed3be4..571ffff 100644 --- a/common/store.h +++ b/common/store.h | |||
@@ -101,5 +101,11 @@ KAsync::Job<QList<typename DomainType::Ptr>> SINK_EXPORT fetchAll(const Sink::Qu | |||
101 | 101 | ||
102 | template <class DomainType> | 102 | template <class DomainType> |
103 | KAsync::Job<QList<typename DomainType::Ptr>> SINK_EXPORT fetch(const Sink::Query &query, int minimumAmount = 0); | 103 | KAsync::Job<QList<typename DomainType::Ptr>> SINK_EXPORT fetch(const Sink::Query &query, int minimumAmount = 0); |
104 | |||
105 | template <class DomainType> | ||
106 | DomainType SINK_EXPORT readOne(const Sink::Query &query); | ||
107 | |||
108 | template <class DomainType> | ||
109 | QList<DomainType> SINK_EXPORT read(const Sink::Query &query); | ||
104 | } | 110 | } |
105 | } | 111 | } |