|
8 | 8 | // |
9 | 9 | // Query parameters control filtering, pagination, and ordering: |
10 | 10 | // |
11 | | -// Parameter | Description |
12 | | -// ------------------|------------------------------------------------ |
13 | | -// ?select=col1,col2 | Select specific columns |
14 | | -// ?order=col.desc | Order results (supports nullsfirst/nullslast) |
| 11 | +// Parameter | Description |
| 12 | +// --------------------|------------------------------------------------ |
| 13 | +// ?select=col1,col2 | Select specific columns |
| 14 | +// ?order=col.desc | Order results (supports nullsfirst/nullslast) |
15 | 15 | // ?order=similarity(col, 'search string') | Order by similarity (requires pg_trgm extension) |
16 | | -// ?limit=100 | Limit number of results (default: 100) |
17 | | -// ?offset=0 | Pagination offset (default: 0) |
18 | | -// ?col=eq.val | Filter by column equality |
19 | | -// ?col=gt.val | Filter with greater than comparison |
20 | | -// ?col=lt.val | Filter with less than comparison |
21 | | -// ?col=gte.val | Filter with greater than or equal comparison |
22 | | -// ?col=lte.val | Filter with less than or equal comparison |
23 | | -// ?col=like.val | Filter with pattern matching |
24 | | -// ?col=in.(a,b,c) | Filter with value lists |
25 | | -// ?col=is.null | Filter for null values |
26 | | -// ?or=(a.eq.x,b.lt.y) | Combine filters with logical operators |
| 16 | +// ?limit=100 | Limit number of results (default: 100) |
| 17 | +// ?offset=0 | Pagination offset (default: 0) |
| 18 | +// ?col=eq.val | Filter by column equality |
| 19 | +// ?col=gt.val | Filter with greater than comparison |
| 20 | +// ?col=lt.val | Filter with less than comparison |
| 21 | +// ?col=gte.val | Filter with greater than or equal comparison |
| 22 | +// ?col=lte.val | Filter with less than or equal comparison |
| 23 | +// ?col=like.val | Filter with pattern matching |
| 24 | +// ?col=in.a,b,c | Filter with value lists |
| 25 | +// ?col=is.null | Filter for null values |
| 26 | +// ?or=(a.eq.x,b.lt.y) | Combine filters with logical operators |
| 27 | +// ?col=cs.example,new | contains (@>) The column contains all these values. JSON object can be passed with urlencoded string |
| 28 | +// ?col=cd.1,2,3. | is contained in (<@) The column’s values are all within this set |
27 | 29 | // |
28 | 30 | // HTTP headers control response format for POST/PATCH/DELETE operations: |
29 | 31 | // |
|
0 commit comments