Last active
July 29, 2021 23:55
-
-
Save touhidrahman/1f85003e0bccbb064d92df57d60fe971 to your computer and use it in GitHub Desktop.
supabase-query-helper.type.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export type FilterOperator = | |
| | 'eq' | 'neq' | |
| | 'gt' | 'gte' | |
| | 'lt' | 'lte' | |
| | 'like' | 'ilike' | |
| | 'is' | 'in' | |
| | 'cs' | 'cd' | |
| | 'sl' | 'sr' | |
| | 'nxl' | 'nxr' | |
| | 'adj' | 'ov' | |
| | 'fts' | 'plfts' | |
| | 'phfts' | 'wfts' | |
| export type FindFilter = [ | |
| column: string, | |
| op: FilterOperator, | |
| value: string | number | boolean | null | |
| ] | |
| export type FindOrder = [column: string, ascending?: boolean] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment