methods eq() from finder can have now a table name

This commit is contained in:
2021-05-13 19:33:19 +02:00
parent 6d07535dad
commit 4df10de6b7
10 changed files with 11 additions and 10 deletions

View File

@@ -61,6 +61,7 @@ bool ImgCrop::HasAccess()
}
void ImgCrop::GetDirContent()
{
// iq.sel_type = Item::file;
@@ -76,7 +77,7 @@ void ImgCrop::GetDirContent()
where().
eq(L"type", static_cast<int>(Item::file)).
eq(L"parent_id", cur->request->dir_tab.back()->id).
eq(L"content.file_type", WINIX_ITEM_FILETYPE_IMAGE).
eq(L"content", L"file_type", WINIX_ITEM_FILETYPE_IMAGE).
get_vector();
//db->GetItems(cur->request->item_tab, iq);