nuxt-mongoose
nuxt-mongoose copied to clipboard
how to index in schema or use mongoose plugins with shema via nuxt-mongoose
I used a hook but it doesn't seem to hit the index
hooks(schema) {
schema.index({ name: 'text' });
}