Database creation
Posted: Sun Apr 26, 2015 10:03 pm
Hi
I am new to QxOrm and I am impressed by the extent of this class library.
I want to create a database and tables by QxOrm but haven't found a way how to create a database.
I saw that QxSqlDatabase has a method createDatabase but it is private.
How can I create a database via QxOrm (mySql)? I haven't found any hint in the tutorials.
When I create a table does it only get created if it does not already exist?
And is there any way on how to get to know this class library better. Unfortunately in the doxygen documentation the methods aren't very well described (just code).
I would be very grateful for answers.
Thank you.
I am new to QxOrm and I am impressed by the extent of this class library.
I want to create a database and tables by QxOrm but haven't found a way how to create a database.
I saw that QxSqlDatabase has a method createDatabase but it is private.
How can I create a database via QxOrm (mySql)? I haven't found any hint in the tutorials.
When I create a table does it only get created if it does not already exist?
And is there any way on how to get to know this class library better. Unfortunately in the doxygen documentation the methods aren't very well described (just code).
I would be very grateful for answers.
Thank you.