Open csandeep opened 6 years ago
While using this module with a large dataset I found a issue where this plugin will fetch records from mongo and then filter them out in code.
Specifically this query https://github.com/talha-asad/mongoose-url-slugs/blob/master/index.js#L159
This fix will use mongodb to filter these slugs instead.
While using this module with a large dataset I found a issue where this plugin will fetch records from mongo and then filter them out in code.
Specifically this query https://github.com/talha-asad/mongoose-url-slugs/blob/master/index.js#L159
This fix will use mongodb to filter these slugs instead.