mongoose-datatables icon indicating copy to clipboard operation
mongoose-datatables copied to clipboard

Server side dataTable request.

Results 11 mongoose-datatables issues
Sort by recently updated
recently updated
newest added

if the fields to be searched by the regex contain Number or a non-latin-characters of a String a case-insensitive regex search decreases indexed searches performance. This PR adds the ability...

Hi, I couldn't find support for multiple searching on individual columns: https://datatables.net/examples/api/regex.html There is support for global search only. I solved it but I don't have pull-request permissions. Thanks

Hi, This is my query: **'user':'wer'.** I expected it to return all the data with user named 'wer' only. But instead it return any data where the name ****started** with**...

Hi, i am really confused as i want to use aggregate pipeline with mongoose-datatables. This is my code ` aModel.dataTables({` `find: {isCertified: { $ne: null}},` `limit: req.body.length,` ` skip: req.body.start,`...

> DeprecationWarning: collection.count is deprecated, and will be removed in a future version. Use collection.countDocuments or collection.estimatedDocumentCount ### Suggested fix/solution In **mongoose-datatables.js** line **82** **_Change:_** `.all([query.exec(), thisSchema.count(find)])` **_To:_** `.all([query.exec(), thisSchema.countDocuments(find)])`...

For example, this options parameter does not work: ``` var options={ find:{ $or:[ {'status':0}, {'status':2} ]}, search: { value: "hello", fields: ['name','city'] } }; ``` It seems the searching fields...

Add support for sort column like this dataTable.columns(3).search( keyword ).draw(); code on nodejs back-end will be like this Order.dataTables({ limit: req.body.length, skip: req.body.start, search: { value: req.body.search.value, fields: ["order_no", "store_name",...

**Solution to fix error** Error: > (node:17492) DeprecationWarning: collection.count is deprecated, and will be removed in a future version. Use collection.countDocuments or collection.estimatedDocumentCount instead