1
Suggestion: Renaming some filters
Source: supabase/supabase#534 · opened by @joshnuss
Some of the filter names are very short. Names like .sl(), .sr(), .adj() can be hard to remember what to they do. I think it would lead to clearer and more declarative code if the function names were a bit longer. Current list of filters: Rename suggestions: • .cs() -> .contains() or add a json: true option to .in() • .cd() -> .within() • .sl() -> .rangeLt() or add a range option to .lt(column, value, {range: true}) • .sr() -> .rangeGt() or add a range option to .gt(column, value, {range: true}) • .nxl() -> rangeGte() or add a range option to .gte(column, value, {range: true}) • .nxr() -> rangeLte() or add a range option to .lte(column, value, {range: true}) • .adj() -> .adjacent() • .ova() -> .within() • .fts() -> .textSearch(column, search, {type: 'tsvector'}) • .plfts() -> .textSearch(column, search, {type: 'plainto'}) • .phfts() -> .textSearch(…
No pledges yet. Be the first to back this.
Comments
Similar requests
Add Reset Filters Button
3 votes · 0 comments
Environment-Specific Database Schema Modifications
2 votes · 0 comments
docs: Fetch like Filters
1 vote · 0 comments
Feature Suggestion for Flexible Resource Allocation in Supabase
1 vote · 0 comments
Improve Column Name Copying and Visibility in Tables
1 vote · 0 comments
No comments yet.