Add folder into the query parser

This commit is contained in:
Iain Benson
2018-11-24 09:54:31 +00:00
committed by Luis Ángel San Martín
parent 4a50d438d0
commit 5fa7da1e46
2 changed files with 11 additions and 4 deletions

View File

@ -39,7 +39,7 @@ private:
template<typename First, typename ... T>
static bool isIn(First &&first, T && ... t) {return ((first == t) || ...);}
enum class FieldType {unknown, numeric, text, boolean, date};
enum class FieldType {unknown, numeric, text, boolean, date, folder, filename};
static FieldType fieldType(const std::string& str);
void tokenize (const std::string& expr);