return 0;
}
-std::string WidgetInterfaceDAO::getValueByIndex(size_t index) const
+std::string WidgetInterfaceDAO::getKeyByIndex(size_t index) const
{
using namespace DPL::DB::ORM;
using namespace DPL::DB::ORM::widget_interface;
Properties::Select select(&m_databaseInterface);
select.OrderBy("key");
std::list<DPL::String> list =
- select.GetValueList<Properties::value>();
+ select.GetValueList<Properties::key>();
if (index >= list.size()) {
Throw(Commons::InvalidArgumentException);
}