Articles tagged in: Development



Case Insensitive Sorting with Mongoose and MongoDB

Sorting in MongoDB can cause a lot pain (in the ass!). The problem: MongoDB always sorts case sensitive in the following order Numerics: 0-9 Uppercase letters: A-Z Lowercase letters: a-z For the following examples, assume the upcoming Tag schema and documents in our Tags collection: Schema { name: String, approved: boolean, …

Continue Reading
Page 8 of 8

Explore the Library

Find interesting tutorials and solutions for your problems.