不要怂,就是干,撸起袖子干!

Commit 88925077 by Tobin Brown Committed by GitHub

fix(types): allow bigints in `WhereValue` (#13028)

Co-authored-by: Pedro Augusto de Paula Barbosa <papb1996@gmail.com>
1 parent e35a9bf5
Showing with 6 additions and 5 deletions
...@@ -332,11 +332,12 @@ export interface WhereGeometryOptions { ...@@ -332,11 +332,12 @@ export interface WhereGeometryOptions {
* WhereAttributeHash is in there for JSON columns. * WhereAttributeHash is in there for JSON columns.
*/ */
export type WhereValue<TAttributes = any> = export type WhereValue<TAttributes = any> =
| string // literal value | string
| number // literal value | number
| boolean // literal value | bigint
| Date // literal value | boolean
| Buffer // literal value | Date
| Buffer
| null | null
| WhereOperators | WhereOperators
| WhereAttributeHash<any> // for JSON columns | WhereAttributeHash<any> // for JSON columns
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!