Modify some function signatures

This commit is contained in:
antao 2018-11-10 21:31:44 +08:00
parent 68cefc76e9
commit 979c6670c9
1 changed files with 4 additions and 4 deletions

View File

@ -55,11 +55,11 @@ class Mapper
const ExceptionCallback &ecb) noexcept;
std::future<std::vector<T>> findFutureAll() noexcept;
size_t count(const Criteria &criteria) noexcept(false);
size_t count(const Criteria &criteria = Criteria()) noexcept(false);
void count(const Criteria &criteria,
const CountCallback &rcb,
const ExceptionCallback &ecb) noexcept;
std::future<size_t> countFuture(const Criteria &criteria) noexcept;
std::future<size_t> countFuture(const Criteria &criteria = Criteria()) noexcept;
T findOne(const Criteria &criteria) noexcept(false);
void findOne(const Criteria &criteria,