tree: visible => listed
This commit is contained in:
@@ -31,9 +31,9 @@ SqliteQueryOption &SqliteQueryOption::setOrderByColumn(std::string name)
|
||||
return *this;
|
||||
}
|
||||
|
||||
SqliteQueryOption &SqliteQueryOption::setVisibleColumnName(std::string name)
|
||||
SqliteQueryOption &SqliteQueryOption::setListedColumnName(std::string name)
|
||||
{
|
||||
this->visibleColumnName = name;
|
||||
this->listedColumnName = name;
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -50,9 +50,9 @@ std::string SqliteQueryOption::build()
|
||||
{
|
||||
result += "WHERE ";
|
||||
}
|
||||
if(!o.includeInvisible && !this->visibleColumnName.empty())
|
||||
if(!o.includeUnlisted && !this->listedColumnName.empty())
|
||||
{
|
||||
result += this->visibleColumnName + " = 1";
|
||||
result += this->listedColumnName + " = 1";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user