FS-9798 [mod_v8] Implement native PostgreSQL in JavaScript by adding a Database Handler (DBH) class

This commit is contained in:
Andrey Volk committed 2016-12-01 15:45:18 +03:00
1 parent 7f1ee9adf6
commit fff5b939b5
6 files changed
+507

No files matched your search

+2
View File
@@ -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 */