brouznouf / fivem-mysql-async

MySql Async Library for FiveM
MIT License
111 stars 106 forks source link

Add 'MySQL.getConfig' method #192

Open meta-hub opened 2 years ago

meta-hub commented 2 years ago

Added the MySQL.getConfig method, allowing us to retrieve the current server_config object.
More convenient then having to parse the mysql_connection_string convar ourselves, and avoids any conflicts if the convar is not set.