update to the new morm::Finder interface
This commit is contained in:
parent
8da76134ce
commit
8d6d0ddbf8
|
@ -432,7 +432,7 @@ CalcItemsHelper Item::calc_items_by_url(long parent_id, const std::wstring & url
|
|||
morm::Finder<CalcItemsHelper> finder(model_connector);
|
||||
|
||||
CalcItemsHelper helper = finder.
|
||||
prepare_to_select().
|
||||
select(morm::Select::no_auto_generated_columns).
|
||||
raw("select count(id) as size, min(id) as item_id from core.item").
|
||||
where().
|
||||
eq(L"parent_id", parent_id).
|
||||
|
|
Loading…
Reference in New Issue