refactor
This commit is contained in:
@ -291,8 +291,10 @@ auto sqlite_file_db::get_item_list() const
|
||||
std::optional<utils::db::sqlite::db_result::row> row;
|
||||
if (result.get_row(row) && row.has_value()) {
|
||||
ret.emplace_back(i_file_db::file_info{
|
||||
row->get_column("api_path").get_value<std::string>(),
|
||||
.api_path = row->get_column("api_path").get_value<std::string>(),
|
||||
.directory =
|
||||
row->get_column("directory").get_value<std::int64_t>() == 1,
|
||||
.source_path =
|
||||
row->get_column("source_path").get_value<std::string>(),
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user