I have no idea how to use the search function. I tryed 5 or 6 times, but it dont let me search.
So i ask my question in the forum.
How do i select all entries in a table like: select * from comment?
I tryed it by using the fetch_all function, but i get always a [QxOrm] qx::QxSqlDatabase : 'parameters are not valid' error.
I tried it by:
- Code: Select all
std::list<comment> comment_ = std::list<comment>()
qx::dao::fetch_all<comment>(comment_ );
and by:
- Code: Select all
comment comment_ = comment();
qx::dao::fetch_all<comment>(comment_ );
Can anyone tell me what i am doing wrong here?