Please, help!
I try to use Analytics Query with order by
SELECT _scope, id, updated_at
FROM orders
ORDER BY id limit 12
I created index by id
CREATE INDEX idx ON orders (id :string) ;
But in the query plan I don’t see that the index is used, so the query is long (>1s). How can I make analytics sort by index?
Same problem if I do sorting by updated_at with index
CREATE INDEX idxUpdated ON orders(updated_at:DATETIME) ;
Is it really possible to use queries in analytics with sorting or maybe it is not designed for this?