hi,
according to manual (QSqlDatabase::addDatabase()):
if i would like to retrieve the database connection I need to use theand subsequent calls to database() without the connection name argument will return the default connection. If a connectionName is provided here, use database(connectionName) to retrieve the connection.
i'm not sure if i just need to use
or
- which doesn't exists
or what else?
could you please give me an example please? I don't have a name for my connection defined.
thanks.
Bookmarks