summary refs log tree commit diff stats
path: root/lib/database.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/database.h')
-rw-r--r--lib/database.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/database.h b/lib/database.h index d68c40b..ef50739 100644 --- a/lib/database.h +++ b/lib/database.h
@@ -15,7 +15,7 @@
15struct sqlite3; 15struct sqlite3;
16 16
17namespace verbly { 17namespace verbly {
18 18
19 template <typename Object> 19 template <typename Object>
20 class query; 20 class query;
21 21
@@ -43,21 +43,21 @@ namespace verbly {
43 // Destructor 43 // Destructor
44 44
45 ~database(); 45 ~database();
46 46
47 // Queries 47 // Queries
48 48
49 query<notion> notions(filter where, bool random = true, int limit = 1) const; 49 query<notion> notions(filter where, bool random = true, int limit = 1) const;
50 50
51 query<word> words(filter where, bool random = true, int limit = 1) const; 51 query<word> words(filter where, bool random = true, int limit = 1) const;
52 52
53 query<group> groups(filter where, bool random = true, int limit = 1) const; 53 query<group> groups(filter where, bool random = true, int limit = 1) const;
54 54
55 query<frame> frames(filter where, bool random = true, int limit = 1) const; 55 query<frame> frames(filter where, bool random = true, int limit = 1) const;
56 56
57 query<lemma> lemmas(filter where, bool random = true, int limit = 1) const; 57 query<lemma> lemmas(filter where, bool random = true, int limit = 1) const;
58 58
59 query<form> forms(filter where, bool random = true, int limit = 1) const; 59 query<form> forms(filter where, bool random = true, int limit = 1) const;
60 60
61 query<pronunciation> pronunciations(filter where, bool random = true, int limit = 1) const; 61 query<pronunciation> pronunciations(filter where, bool random = true, int limit = 1) const;
62 62
63 private: 63 private: