backpack1098B
Convex Community3y ago
6 replies
backpack1098

this looks cool, can i pull it off with convex?

https://twitter.com/thdxr/status/1736780708759175487
hi team! im thinking of doing something similar to what was shared in the tweet above. i currently allow users to search by letting them type and hit search. on the backend, i do
searchInput === "" ? true : q.gte(q.field("name"), searchInput),
 searchInput === ""
 ? true
 : q.lt(q.field("name"), searchInput + "\uffff")

maybe once prefix search is available? what do you think? thanks!
Was this page helpful?