Database: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Typo)
(Fixed typo)
Line 3: Line 3:
There are two main database files for storing data:
There are two main database files for storing data:
*'''internal.db:''' this contains user account data (usernames, passwords and account data stored by using the [[setAccountData]] and [[getAccountData]] functions.
*'''internal.db:''' this contains user account data (usernames, passwords and account data stored by using the [[setAccountData]] and [[getAccountData]] functions.
*'''registry.db:''' this is the main database file, all the executeSQL* scrtipting functions work with this file.
*'''registry.db:''' this is the main database file, all the executeSQL* scripting functions work with this file.
 
==Functions==
==Functions==
{{SQL_functions}}
{{SQL_functions}}

Revision as of 17:12, 9 July 2017

MTA uses a database system based on files. This system is sqlite, an embedded relational database management system.

Files

There are two main database files for storing data:

  • internal.db: this contains user account data (usernames, passwords and account data stored by using the setAccountData and getAccountData functions.
  • registry.db: this is the main database file, all the executeSQL* scripting functions work with this file.

Functions