Is there a problem while using multiple open connections from different threads at the same time?
From what I read, it is still safe by default, but can this degrade performance rather than improve it?
the documentation says:
A connection can only be used from the thread that created it. Moving connections between threads or creating requests from another thread is not supported., , QSqlDrivers, SQL . .
A connection can only be used from the thread that created it. Moving connections between threads or creating requests from another thread is not supported.
, , QSqlDrivers, SQL . .
, , . docs QSqlDatabase :
QSqlDatabase .QSqlDatabase . QSqlDatabase . , QSqlDriver.(, QSqlDatabase), addDatabase(), (, ?) .
QSqlDatabase .
QSqlDatabase . QSqlDatabase . , QSqlDriver.
(, QSqlDatabase), addDatabase(), (, ?) .
addDatabase() - .
addDatabase()
Renzo , SQLite . , () , - . docs.
, , , - , SQLite concurrency . SQlite :
SQLite , . . . , . , concurrency, .
SQLite - "" : , SQL " " . , concurrency ( db).
, , - , PostgreSQL.
Source: https://habr.com/ru/post/1598689/More articles:The number returned by Font.getNumGlyphs () - javaКак получить китайский порядок штрихов характера из файла ttf? - javaVolley - cannot solve constructor "JSONObjectRequest - javasleep mode, check if object exists and null values - javaПеремещение дерева выражений и параметров извлечения - reflectionexpress.js is the next middleware level called when the response explicitly ends - javascriptnode.js email not sent with gmail smtp - emailASP.NET: error - server error in application "/" - c #Xcode 6 Limitations with Button Images - iosPython Pandas: time series detection frequency - pythonAll Articles