mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 04:34:15 +00:00
FS-9798 [mod_v8] Implement native PostgreSQL in JavaScript by adding a Database Handler (DBH) class
This commit is contained in:
1 parent
7f1ee9adf6
commit
fff5b939b5
6 files changed
+507
No files matched your search
@@ -83,6 +83,7 @@
|
||||
|
||||
/* Optional JavaScript classes (loaded on demand) */
|
||||
#include "fscoredb.hpp"
|
||||
#include "fsdbh.hpp"
|
||||
#include "fscurl.hpp"
|
||||
#include "fsteletone.hpp"
|
||||
#include "fssocket.hpp"
|
||||
@@ -840,6 +841,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_v8_load)
|
||||
|
||||
/* Make all "built in" modules available to load on demand */
|
||||
v8_mod_init_built_in(FSCoreDB::GetModuleInterface());
|
||||
v8_mod_init_built_in(FSDBH::GetModuleInterface());
|
||||
v8_mod_init_built_in(FSCURL::GetModuleInterface());
|
||||
#ifdef HAVE_ODBC
|
||||
/* Only add ODBC class if ODBC is available in the system */
|
||||
|
||||
Reference in new issue
Block a user