Let's make (git) history!
This commit is contained in:
27
database/sqlitequeryoption.h
Normal file
27
database/sqlitequeryoption.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef SQLITEQUERYOPTION_H
|
||||
#define SQLITEQUERYOPTION_H
|
||||
#include <string>
|
||||
#include "queryoption.h"
|
||||
|
||||
class SqliteQueryOption
|
||||
{
|
||||
private:
|
||||
QueryOption o;
|
||||
std::string visibleColumnName;
|
||||
std::string orderByColumnName;
|
||||
|
||||
bool prependWhere;
|
||||
|
||||
public:
|
||||
SqliteQueryOption(const QueryOption &o);
|
||||
|
||||
SqliteQueryOption &setOrderByColumn(std::string name);
|
||||
|
||||
SqliteQueryOption &setVisibleColumnName(std::string name);
|
||||
|
||||
SqliteQueryOption &setPrependWhere(bool b);
|
||||
|
||||
std::string build();
|
||||
};
|
||||
|
||||
#endif // SQLITEQUERYOPTION_H
|
Reference in New Issue
Block a user