Posts by user135324 • 56 points
2 posts
-
2
votes1
answer900
viewsA: Using model.find() with LIKE in Mongoose
You are trying to use a regular expression to do the research, but you are not generating a dynamically regular expression. The expression /countryName/i will search for countries that literally…
-
2
votes1
answer109
viewsA: How can I subtract from a multi-position array with the same number in C?
As the comments have already said, your array has size 0, there is no way to store values in it. You need to set the array to a size large enough to store all the values, or else set the array size…