Skip to content

Commit

Permalink
refactor!: Remove iSql.connect() and iSql.setOptions()
Browse files Browse the repository at this point in the history
These two functions were used in conjuction to use XMLSERVICE for user
authentication. The transports already handle this.
  • Loading branch information
abmusse committed Apr 4, 2020
1 parent c978c41 commit 066e8ba
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions lib/Deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,24 +150,6 @@ class iSql {
this.xml = '<sql>';
}

/**
* @description adds sql connect XML
* @param {object} [options]
*/
// eslint-disable-next-line class-methods-use-this
connect() {
throw new Error('As of v1.0, \'iSql.connect()\' has been removed');
}

/**
* @description adds sql options XML
* @param {object} options
*/
// eslint-disable-next-line class-methods-use-this
setOptions() {
throw new Error('As of v1.0, \'iSql.setOptions()\' has been removed');
}

/**
* @description adds sql query XML
* @param {string} stmt
Expand Down

0 comments on commit 066e8ba

Please sign in to comment.