Styly
Styly•2mo ago

is convex this bad or is it skill issue

is convex this bad or is it skill issue, why cant i stack indexes to filter rows down
5 Replies
erquhart
erquhart•2mo ago
Maybe neither 🙂 Can you say more about what you're trying to do?
Styly
StylyOP•2mo ago
use mutiple indexes with a search query for a basic cattegory, ordering, search filter works fine and fast in sql
erquhart
erquhart•2mo ago
That sounds doable with a single index. There's some level of combining indexes possible with streams: https://www.convex.dev/components/aggregate#offset-based-pagination But again, you may just be able to use one index. Would need an example to say for sure. Like if you want to search on a field, and have category equal x, and order by some field, you can do that with a single index. oh actually order with search is tricky Streams might work for that, I haven't actually tried a search index with streams. But it looks to be supported. Can you share an actual example query that you're trying to do with Convex? That'll help make this less abstract.
Styly
StylyOP•2mo ago
Styly
StylyOP•2mo ago
i excluded own

Did you find this page helpful?