diff options
-rw-r--r-- | lib/form.cpp | 4 | ||||
-rw-r--r-- | lib/pronunciation.cpp | 4 | ||||
-rw-r--r-- | lib/query.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/form.cpp b/lib/form.cpp index b5348cb..06a00b9 100644 --- a/lib/form.cpp +++ b/lib/form.cpp | |||
@@ -20,8 +20,8 @@ namespace verbly { | |||
20 | 20 | ||
21 | const field form::anagrams = field::joinField(object::form, "anagram_set_id", object::form); | 21 | const field form::anagrams = field::joinField(object::form, "anagram_set_id", object::form); |
22 | 22 | ||
23 | const field form::merographs = field::selfJoin(object::form, "form_id", "merography", "holograph_id", "merograph_id"); | 23 | const field form::merographs = field::selfJoin(object::form, "form_id", "merography", "merograph_id", "holograph_id"); |
24 | const field form::holographs = field::selfJoin(object::form, "form_id", "merography", "merograph_id", "holograph_id"); | 24 | const field form::holographs = field::selfJoin(object::form, "form_id", "merography", "holograph_id", "merograph_id"); |
25 | 25 | ||
26 | field form::words(inflection category) | 26 | field form::words(inflection category) |
27 | { | 27 | { |
diff --git a/lib/pronunciation.cpp b/lib/pronunciation.cpp index 093e11a..856f891 100644 --- a/lib/pronunciation.cpp +++ b/lib/pronunciation.cpp | |||
@@ -20,8 +20,8 @@ namespace verbly { | |||
20 | 20 | ||
21 | const field pronunciation::anaphones = field::joinField(object::pronunciation, "anaphone_set_id", object::pronunciation); | 21 | const field pronunciation::anaphones = field::joinField(object::pronunciation, "anaphone_set_id", object::pronunciation); |
22 | 22 | ||
23 | const field pronunciation::merophones = field::selfJoin(object::pronunciation, "pronunciation_id", "merophony", "holophone_id", "merophone_id"); | 23 | const field pronunciation::merophones = field::selfJoin(object::pronunciation, "pronunciation_id", "merophony", "merophone_id", "holophone_id"); |
24 | const field pronunciation::holophones = field::selfJoin(object::pronunciation, "pronunciation_id", "merophony", "merophone_id", "holophone_id"); | 24 | const field pronunciation::holophones = field::selfJoin(object::pronunciation, "pronunciation_id", "merophony", "holophone_id", "merophone_id"); |
25 | 25 | ||
26 | const field pronunciation::rhymes_field::rhymeJoin = field::joinField(object::pronunciation, "rhyme", object::pronunciation); | 26 | const field pronunciation::rhymes_field::rhymeJoin = field::joinField(object::pronunciation, "rhyme", object::pronunciation); |
27 | const pronunciation::rhymes_field pronunciation::rhymes = {}; | 27 | const pronunciation::rhymes_field pronunciation::rhymes = {}; |
diff --git a/lib/query.h b/lib/query.h index 09d7f1f..65b4e9d 100644 --- a/lib/query.h +++ b/lib/query.h | |||
@@ -43,9 +43,9 @@ namespace verbly { | |||
43 | } | 43 | } |
44 | 44 | ||
45 | statement stmt(Object::objectType, std::move(queryFilter)); | 45 | statement stmt(Object::objectType, std::move(queryFilter)); |
46 | |||
46 | queryString_ = | 47 | queryString_ = |
47 | stmt.getQueryString(Object::select, std::move(sortOrder), limit); | 48 | stmt.getQueryString(Object::select, std::move(sortOrder), limit); |
48 | |||
49 | 49 | ||
50 | bindings_ = stmt.getBindings(); | 50 | bindings_ = stmt.getBindings(); |
51 | } | 51 | } |