Drivers

Database Driver Dependencies

This document provides a comprehensive overview of all database drivers supported by Gigantic and their corresponding Node.js library dependencies.

Driver Dependencies Map

DriverNode.js LibraryPurposeFeatures
MySQLmysql2Connects to MySQL databasesConnection pooling, prepared statements, transactions
PostgreSQLpgConnects to PostgreSQL databasesConnection pooling, prepared statements, transactions
OracleoracledbConnects to Oracle databasesConnection pooling, prepared statements, transactions
MongoDBmongodbConnects to MongoDB databasesMongoClient connections, document operations
Microsoft SQL ServermssqlConnects to Microsoft SQL Server databasesConnection pooling, prepared statements, bulk operations, transactions
DB2 for z/OSibm_db (default) or js390, depending on the connection modeConnects to IBM DB2 for z/OS databasesIBM-DB needs a DB2 Connect license; JS390 is pure JavaScript and needs nothing installed. Both: connection pooling, prepared statements, transactions
DB2 for i (AS/400)js400 (default), ssh2, odbc (optional) or ibm_db, depending on the connection modeConnects to IBM DB2 for i databasesJS400 needs nothing installed; SSH mode moves data over SFTP; ODBC needs the IBM i Access ODBC driver; IBM-DB needs a DB2 Connect license
DB2x (AS/400 with SFTP)odbc and ssh2Connects to IBM DB2 for i databases with SFTP supportODBC connections and secure file transfer capabilities
SQLitesqlite3Connects to SQLite database filesFile-based database access, PRAGMA support, prepared statements
Databricks@databricks/sqlConnects to Databricks SQL warehouses and clustersAccess token authentication, sessions with initial catalog and schema, INSERT and MERGE loads
RedisredisConnects to Redis serversKeys grouped into entities by prefix with SCAN, ACL users, transactions (MULTI)
File Storageexceljs, @dsnp/parquetjs, googleapis and ssh2, plus fast-csv, JSONStream, js-yaml and xml2jsReads and writes data files in local, SSH/SFTP, Google Drive or SharePoint foldersExcel and Parquet formats, Google Drive API, SFTP transfers; CSV, JSON, YAML and XML formats. SharePoint goes through the Microsoft Graph API with no extra library. See File Storage
SalesforcejsforceConnects to Salesforce CRMJWT OAuth authentication, Bulk API 2.0, REST API, schema discovery, relationship management
CSVfast-csvCSV file parsing and formattingStreaming API, header handling, quoting, escaping

Notes

  • Most drivers use standard connection pooling mechanisms provided by their respective Node.js libraries
  • The DB2x driver is unique in that it uses both ODBC for database connectivity and SSH2 for secure file transfers
  • The CSV driver is not a traditional database driver but rather a file system-based data source/sink
  • Most database drivers support SSH tunneling for secure access to databases behind firewalls or in private networks. For detailed information on configuring SSH tunnels, please refer to the SSH Tunnelling documentation.
  • Each driver's documentation provides detailed information about connection parameters, authentication options, and UI field mappings