If ( db.databaseName() == “:memory:” ) Should do the trick
From: interest-bounces+scott.bloom=onshorecs....@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs....@qt-project.org] On Behalf Of Jha Sonakumar Sent: Monday, March 16, 2015 1:42 AM To: interest@qt-project.org Interest Subject: [Interest] Regarding craeting sqlite database in RAM Hi , As we know we can create sqlite database in RAM db = QSqlDatabase::addDatabase("QSQLITE");\ db.setDatabaseName(":memory:"); But how do we check whether it's created in RAM or not. Is any command in linux to check it. Best Regards Sona ________________________________ ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. ============================================================================================================================
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest