methods eq() from finder can have now a table name
This commit is contained in:
@@ -315,7 +315,7 @@ void ExportInfo::SendAllFilesFromDir(long dir_id)
|
||||
where().
|
||||
eq(L"parent_id", dir_id).
|
||||
eq(L"type", static_cast<int>(Item::file)).
|
||||
eq(L"content.file_type", WINIX_ITEM_FILETYPE_NONE).
|
||||
eq(L"content", L"file_type", WINIX_ITEM_FILETYPE_NONE).
|
||||
get_vector(dir_items);
|
||||
|
||||
//db->GetItems(dir_items, iq_dir);
|
||||
|
@@ -105,7 +105,7 @@ void FunExport::ExportDir(const Item & dir, bool static_files_too)
|
||||
if( !static_files_too )
|
||||
{
|
||||
//iq_dir.WhereFileType(WINIX_ITEM_FILETYPE_NONE);
|
||||
finder.eq(L"content.file_type", WINIX_ITEM_FILETYPE_NONE);
|
||||
finder.eq(L"content", L"file_type", WINIX_ITEM_FILETYPE_NONE);
|
||||
}
|
||||
|
||||
finder.get_vector(dir_items);
|
||||
|
Reference in New Issue
Block a user