Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

v3.0.0

Compare
Choose a tag to compare
@maxcnunes maxcnunes released this 02 Feb 00:12
· 276 commits to main since this release
  • Huge change. Separated server and database logic
  • Handle connection status and errors in the base client
  • Remove hack for multiple queries and use “native” support for multiple queries
  • Improve error handling during the SSH connection

Break changes (example new API):

const serverSession = db.createServer({ server-config-here });
const dbConn = serverSession.createConnection('database-name-here');

Check out the db test to better understand the new API.