What are the three forms of databases used by FMDB?
Today, I will talk to you about the three forms of databases used by FMDB, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
FMDB is an excellent third-party SQLite database framework under iOS platform. It encapsulates the C language API of SQLite in the way of Objective-C. When used, it is more object-oriented and avoids redundant C language code. There are three forms of databases supported by FMDB.
(1) File system database: when the user specifies a file system path, FMDB attempts to open the file. If the file does not exist, it is created.
(2) tempdb: when the user specifies an empty string @ ", FMDB creates a tempdb. When the FMDatabase instance closes the connection, the database is automatically deleted.
(3) in-memory database (IMDB): when the user does not specify the database path, FMDB will create a data in memory. When FMDataBase closes the connection, the database is automatically destroyed.
After reading the above, do you have any further understanding of the three forms of databases used by FMDB? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.