Skip to content

Commit

Permalink
fix: add deprecated WhereExpression alias for `WhereExpressionBuild…
Browse files Browse the repository at this point in the history
…er` (#7980)
  • Loading branch information
imnotjames authored Jul 29, 2021
1 parent 4c8debb commit 76e7ed9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export {UpdateQueryBuilder} from "./query-builder/UpdateQueryBuilder";
export {RelationQueryBuilder} from "./query-builder/RelationQueryBuilder";
export {Brackets} from "./query-builder/Brackets";
export {WhereExpressionBuilder} from "./query-builder/WhereExpressionBuilder";
export {WhereExpression} from "./query-builder/WhereExpressionBuilder";
export {InsertResult} from "./query-builder/result/InsertResult";
export {UpdateResult} from "./query-builder/result/UpdateResult";
export {DeleteResult} from "./query-builder/result/DeleteResult";
Expand Down
7 changes: 7 additions & 0 deletions src/query-builder/WhereExpressionBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,10 @@ export interface WhereExpressionBuilder {


}

/**
* @deprecated Use `WhereExpressionBuilder` instead
*/
export interface WhereExpression extends WhereExpressionBuilder {

}

0 comments on commit 76e7ed9

Please sign in to comment.