getComparatorFunction<
C extends Comparator
>(comparator: Comparator): (attr: string, value: ValueType| Name | Type | Description |
|---|---|---|
comparator* | Comparator |
Returns a function that applies the appropriate comparator operation on the attribute and value provided. The function returned is used to filter data in a Supabase database.
The comparator to be used in the operation.