Specific Fields in a Query
Hi, how can i make a query with specific fields from different databases, not all table information. How can i create a dynamic object to handle only these specific information.
Thanks
Thanks
QxOrm : ORM (Object Relational Mapping) C++ library - QxEntityEditor : graphic editor for QxOrm library
http://www.qxorm.com/forum/phpbb/
// Fetch only property 'm_dt_creation' of blog
QStringList lstColumns = QStringList() << "date_creation";
list_blog lst_blog_with_only_date_creation;
daoError = qx::dao::fetch_all(lst_blog_with_only_date_creation, NULL, lstColumns);
if i want only a query with the following fields: Category_id, Category_Name, Blog_Text, and Author_name, should i use QStringList with the name of three different tables?
Another question is, do you have a tool for autogenerate headers, relations, data type, etc from database, maybe using QtSql and QSqlDrive?