Skip to content

Commit

Permalink
fix(types): remove escape from query-interface types (#15944)
Browse files Browse the repository at this point in the history
Co-authored-by: Ricardo Spear <r.spear@valid8financial.com>
Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
  • Loading branch information
3 people committed Jul 6, 2023
1 parent a3213f0 commit 2eb7a5d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions src/dialects/abstract/query-interface.d.ts
Expand Up @@ -656,11 +656,6 @@ export class QueryInterface {
*/
public quoteIdentifiers(identifiers: string): string;

/**
* Escape a value (e.g. a string, number or date)
*/
public escape(value?: string | number | Date): string;

/**
* Set option for autocommit of a transaction
*/
Expand Down
1 change: 1 addition & 0 deletions test/types/sequelize.ts
Expand Up @@ -37,6 +37,7 @@ sequelize.and()
sequelize.or()
sequelize.json('data.id')
sequelize.where(sequelize.col("ABS"), Op.is, null);
sequelize.getQueryInterface();

const databaseName = sequelize.getDatabaseName();

Expand Down

0 comments on commit 2eb7a5d

Please sign in to comment.