Skip to content

GabrielButarelo/jdbc-db2-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JDBC-DB2-CONNECT

Connector for connection with IBM's DB2 database that can be easily used for executing queries within Node.js

How To Use

Install the library as a dependency in your project.

npm install jdbc-db2-connect

Import the functions into your file.

const { DB2Initialize, DB2ExecuteQuery } = require("jdbc-db2-connect");

Start the connection to the database by providing the URL, user, and password.

await DB2Initialize({
  url: "jdbc:as400://<server-ip>;naming=<name>;libraries=<libraries>",
  user: "<user>",
  password: "<password>",
});

Execute queries.

await DB2ExecuteQuery("<query>");

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published