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_dbConnects to IBM DB2 for z/OS databasesConnection pooling, prepared statements, transactions
DB2 for i (AS/400)odbcConnects to IBM DB2 for i databasesConnection pooling, prepared statements, transactions
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
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