🌐
Query API
API and CLIENT API for FiveM to externalize database responsibilities.
FAQ
Is the project finished?
Definitely NOT, this is a first version of both the api and the client api.
What databases are supported?
Basically any one, just adapt, but the version in this repository is working with mariadb.
API Documentation
Run a query on the database
POST /query
Parameter | Type | Description |
---|---|---|
query |
string |
Required. The query to be executed. |
params |
Array<any> |
Required. The parameters for the query to be executed. |
resource |
string |
Required. The resource that originalized the query. |
The return will be the one generated by the database.
Usage/Examples
- Javascript:
- Lua:
Support
For support, call me on discord thiagoo#2695.