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.
getComparatorFunction<
C extends Comparator
>(comparator: Comparator): (attr: string, value: ValueType[C]) => SupabaseFilterRPCCall| Name | Type | Description |
|---|---|---|
comparator* | Comparator | The comparator to be used in the operation. |