We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f730aa7 commit a79d78cCopy full SHA for a79d78c
src/PostgrestFilterBuilder.ts
@@ -239,7 +239,7 @@ export default class PostgrestFilterBuilder<
239
* @param values - The values array to filter with
240
*/
241
in(column: string, values: readonly unknown[]): this {
242
- const cleanedValues = values
+ const cleanedValues = Array.from(new Set(values))
243
.map((s) => {
244
// handle postgrest reserved characters
245
// https://postgrest.org/en/v7.0.0/api.html#reserved-characters
0 commit comments