brouznouf / fivem-mysql-async

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

Add MySQL.*.fetchFirst() #154

Closed xotikorukx closed 2 years ago

xotikorukx commented 3 years ago

MySQL.*.fetchFirst(...) is a (hackyish) way of making outside code cleaner. By doing result[1] in the MySQL library, users can now MySQL.*.fetchFirst(...) instead. This does not modify any existing functionality in any way.