39 Commits
Author SHA1 Message Date
Dunak 1e31cc0ace fix: typo in workflow v1.2.0 2021-09-12 18:11:56 +02:00
dunak-debug e09b3482ba chore: bump version to 1.2.0 2021-09-12 18:09:37 +02:00
Dunak a31df20979 Create release.yml 2021-09-12 18:07:44 +02:00
dunak-debug f6fb7cc017 fix: remove mysql2 patch, format lua parameters 2021-09-12 17:56:36 +02:00
dunak-debug 04e03e4fef fix: Type casting, removed old query format, dont prepare execute/insert
- fixed https://github.com/overextended/oxmysql/issues/6
- fixed https://github.com/overextended/oxmysql/issues/7
- fixed https://github.com/overextended/oxmysql/issues/8
- fixed https://github.com/overextended/oxmysql/issues/9
- closes https://github.com/overextended/oxmysql/issues/12
- support for modified named-placeholders package patch
2021-09-12 16:46:38 +02:00
dunak-debug 94bd814186 fix: patch mysql2, named-placeholders 2021-09-12 16:28:02 +02:00
dunak-debug 93d86f849a chore: bump version to 1.1.0 v1.1.0 2021-09-11 03:40:23 +02:00
dunak-debug d6886bdd3f fix: leftover console.log, typeCast 2021-09-11 03:26:58 +02:00
dunak-debug 8c6c6119f1 feat: mysql-async/ghmatti '@' compatibility, debug, error handling
- Implemented mysql-async/ghmatti '@' syntax for queries and parameters
- Better error handling on database connection error
- Check callback type
- Added `mysql_debug` convar
- Resolves https://github.com/overextended/oxmysql/pull/4
Co-authored-by: pitermcflebor
2021-09-11 03:21:30 +02:00
Dunak 2af99e35a7 Update README.md 2021-09-09 22:23:03 +02:00
Dunak 03e6e534f5 Update README.md 2021-09-09 22:22:36 +02:00
Dunak 45f9f72daa Create FUNDING.yml 2021-09-09 22:20:31 +02:00
Dunak c4a9db0a79 Merge pull request #1 from darksaid98/main
feat(fxmanifest): set server_only
2021-09-09 16:01:36 +02:00
darksaid98 8be251382d feat(fxmanifest): set server_only
- Since the script only runs on the server there is no need for clients to be aware of it's existance
2021-09-09 15:28:34 +02:00
Dunak 6bfda0c64d Revert "Assets"
This reverts commit cf8eb3e590.
2021-09-09 12:41:12 +02:00
Dunak cf8eb3e590 Assets 2021-09-09 12:36:35 +02:00
Dunak 44c4ea5fba Update README.md 2021-09-08 23:55:32 +02:00
dunak-debug 6517951c83 feat: Parse URI-like connection string, support for slow query warning v1.0.0 2021-09-08 01:07:27 +02:00
Linden f252c94413 Refactor functions; change pool options 2021-08-29 09:16:39 +10:00
Linden 43c8ffd694 chore: Set default values for createPool 2021-08-20 06:58:22 +10:00
dunak-debug 5d50e098d8 fix(mysql): Use ScheduleResourceTick() instead of raw node.js api
- https://forum.cfx.re/t/node-mysql2-question-about-performance-process-nexttick/4550064/2?u=dunak
2021-08-19 02:49:26 +02:00
Linden dd85e2bf99 Update README.md 2021-08-18 13:31:47 +10:00
dunak-debug ce0d35fcf2 chore(version): setup first release 0.1.0 2021-08-17 16:50:25 +02:00
Dunak 36221e192f Create codeql-analysis.yml 2021-08-17 16:36:12 +02:00
Dunak 13bfd2c5b3 Update README.md 2021-08-17 16:33:21 +02:00
Linden 381578786f fix(js/exports): Set exports as global 2021-08-17 15:07:44 +10:00
dunak-debug 1f1cc61928 fix(scalar/single): fixed nested array access 2021-08-17 03:09:43 +02:00
dunak-debug 8df05c748b refactor: remove typescript and refactor 2021-08-17 02:58:31 +02:00
dunak-debug d2a9a433bb fix(callback): use process._tickCallback() fix (process.nextTick())
- this fixes whole issue with slow queries
- https://github.com/alcoholiclobster/fivem-mongodb/blob/400ac6615a334d43531a7a1824f2e8b540246fe2/index.js#L105
- setImmediate will just make performance worse
- now it also works in coroutine if yielded
- also i´m not sure why tickCallback helps, if somebody know i would be glad to know :D
- process.nextTick() is issue maybe, it works only for natives and not node functions
- process.nextTick isn't firing until the socket timeout callback fires
- discord conversation about it https://discord.com/channels/192358910387159041/433008322732490778/479523175869317130
2021-08-16 21:42:18 +02:00
dunak-debug f4dc666a98 Revert "fix(callback): forgot to wrap setImmediate on execute export"
This reverts commit ea98463224.
2021-08-16 21:36:04 +02:00
dunak-debug baa91dab4e Revert "fix(callback): use setImmediate to callback on main thread"
This reverts commit e9a18b5a46.
2021-08-16 21:35:55 +02:00
dunak-debug ea98463224 fix(callback): forgot to wrap setImmediate on execute export 2021-08-16 20:09:37 +02:00
dunak-debug e9a18b5a46 fix(callback): use setImmediate to callback on main thread
- maybe fix of random query times inside coroutines
2021-08-16 19:43:47 +02:00
Dunak ccf71fab83 Update README.md 2021-08-16 15:32:12 +02:00
dunak-debug c242e03baf feat(mysql): setup insert, single, scalar exports
- renamed test.lua to wrapper.lua
- use local function for documentation (maybe?)
- setup sync wrappers
2021-08-16 15:29:00 +02:00
dunak-debug b2ade77589 feat(mysql): setup execute export
- also setup test.lua for testing
2021-08-16 00:12:28 +02:00
dunak-debug 7afd440931 fix(webpack): fixed resolving .js extension when building
- also removed eslint
2021-08-15 16:48:29 +02:00
dunak-debug 1f675b44c4 Setup node package 2021-08-15 16:13:48 +02:00
dunak-debug 91e3af5a4c Initial commit 2021-08-15 15:39:27 +02:00