Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
dosc: update sequelize
Browse files Browse the repository at this point in the history
  • Loading branch information
nduchak committed Nov 9, 2020
1 parent 0ba232f commit 4a40083
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/sequelize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ export function bigNumberGetterSetter (propName: string): Partial<ModelAttribute
}

/**
* consider that the field will be stored as string in the data base,
* so you not be able to use number comparision when querying
* BigNumberStringType for sequelize models
* Consider that the field will be stored as a string in the database,
* so you won't be able to use number comparison when querying and also
* data are ordered lexicographically so most probably ordering won't work
* as you would expect.
* @param propName
* @constructor
*/
Expand Down

0 comments on commit 4a40083

Please sign in to comment.