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

Commit 3517eb7e by Phil Gebauer Committed by Sushant

fix(types): add array of Buffers to WhereValue type (#11559)

1 parent c3c767e4
Showing with 4 additions and 1 deletions
......@@ -350,7 +350,7 @@ export type WhereValue =
| OrOperator
| AndOperator
| WhereGeometryOptions
| (string | number | WhereAttributeHash)[]; // implicit [Op.or]
| (string | number | Buffer | WhereAttributeHash)[]; // implicit [Op.or]
/**
* A hash of attributes to describe your search.
......
......@@ -15,9 +15,12 @@ let where: WhereOptions;
*/
where = {
string: 'foo',
strings: ['foo'],
number: 1,
numbers: [1],
boolean: true,
buffer: Buffer.alloc(0),
buffers: [Buffer.alloc(0)],
null: null,
};
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!