From fe9c684bf01591c53abce52b341a83f6371d65a6 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Thu, 18 May 2023 18:46:23 +1000 Subject: [PATCH] chore: readme --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9f8e263..375387b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # oxmysql -A FiveM resource to communicate with a MySQL database using [node-mysql2](https://github.com/sidorares/node-mysql2). +A FiveM resource to communicate with a MySQL database using [node-mysql2](https://github.com/sidorares/node-mysql2). ## 📚 Documentation @@ -22,6 +22,13 @@ https://github.com/overextended/oxmysql/releases/latest/download/oxmysql.zip - Support for URI connection strings and semicolon separated values. - Improved parameter checking and error handling. -## npm +## npm Package https://www.npmjs.com/package/@overextended/oxmysql + +## Lua Language Server + +- Install [Lua Language Server](https://marketplace.visualstudio.com/items?itemName=sumneko.lua) to ease development with annotations, type checking, diagnostics, and more. +- Install [cfxlua-vscode](https://marketplace.visualstudio.com/items?itemName=overextended.cfxlua-vscode) to add natives and cfxlua runtime declarations to LLS. +- You can load oxmysql into your global development environment by modifying workspace/user settings "Lua.workspace.library" with the resource path. + - e.g. "c:\\fxserver\\resources\\oxmysql\\lib\\define.lua"