Are all columns in the underlying DB indexed? If n...
# prisma-whats-new
m
Are all columns in the underlying DB indexed? If not, is there a way to or a plan to add the ability to index certain fields/columns?
n
@mikeroelens Hey Mike, we're planning to add a way to specify columns to be indexed and are currently evaluating the options. I created a new feature request: https://github.com/graphcool/feature-requests/issues/104
m
OK. Which fields are currently indexed? ID fields and any unique fields?
n
We currently index ids, relation ids and unique fields. This should get you going smoothly if you have ~ 1 million nodes
If you're hitting that region we're happy to configure more specialized indices manually. And we're definitely looking to offer a UI for custom indices in the feature 🙂
m
OK thats good know! Thanks! 😃
👍 1