diff options
Diffstat (limited to 'lib/database.cpp')
| -rw-r--r-- | lib/database.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
| diff --git a/lib/database.cpp b/lib/database.cpp index 351b93d..fb00ef3 100644 --- a/lib/database.cpp +++ b/lib/database.cpp | |||
| @@ -40,37 +40,37 @@ namespace verbly { | |||
| 40 | { | 40 | { |
| 41 | sqlite3_close_v2(ppdb_); | 41 | sqlite3_close_v2(ppdb_); |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | query<notion> database::notions(filter where, bool random, int limit) const | 44 | query<notion> database::notions(filter where, bool random, int limit) const |
| 45 | { | 45 | { |
| 46 | return query<notion>(*this, ppdb_, std::move(where), random, limit); | 46 | return query<notion>(*this, ppdb_, std::move(where), random, limit); |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | query<word> database::words(filter where, bool random, int limit) const | 49 | query<word> database::words(filter where, bool random, int limit) const |
| 50 | { | 50 | { |
| 51 | return query<word>(*this, ppdb_, std::move(where), random, limit); | 51 | return query<word>(*this, ppdb_, std::move(where), random, limit); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | query<group> database::groups(filter where, bool random, int limit) const | 54 | query<group> database::groups(filter where, bool random, int limit) const |
| 55 | { | 55 | { |
| 56 | return query<group>(*this, ppdb_, std::move(where), random, limit); | 56 | return query<group>(*this, ppdb_, std::move(where), random, limit); |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | query<frame> database::frames(filter where, bool random, int limit) const | 59 | query<frame> database::frames(filter where, bool random, int limit) const |
| 60 | { | 60 | { |
| 61 | return query<frame>(*this, ppdb_, std::move(where), random, limit); | 61 | return query<frame>(*this, ppdb_, std::move(where), random, limit); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | query<lemma> database::lemmas(filter where, bool random, int limit) const | 64 | query<lemma> database::lemmas(filter where, bool random, int limit) const |
| 65 | { | 65 | { |
| 66 | return query<lemma>(*this, ppdb_, std::move(where), random, limit); | 66 | return query<lemma>(*this, ppdb_, std::move(where), random, limit); |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | query<form> database::forms(filter where, bool random, int limit) const | 69 | query<form> database::forms(filter where, bool random, int limit) const |
| 70 | { | 70 | { |
| 71 | return query<form>(*this, ppdb_, std::move(where), random, limit); | 71 | return query<form>(*this, ppdb_, std::move(where), random, limit); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | query<pronunciation> database::pronunciations(filter where, bool random, int limit) const | 74 | query<pronunciation> database::pronunciations(filter where, bool random, int limit) const |
| 75 | { | 75 | { |
| 76 | return query<pronunciation>(*this, ppdb_, std::move(where), random, limit); | 76 | return query<pronunciation>(*this, ppdb_, std::move(where), random, limit); |
