python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
MongoDB .NET Driver - Convert lambda expressions to JSON object
I need to execute my queries as string instead of lambda expressions because I am having a hard time using mocking frameworks in order to create unit tests for my projects.
In other words, I want to m...
Tono Nam
Votes: 0
Answers: 1
How to ignore case when using filters with the mongo driver in dot net core with C#
I have an aggregates pipeline query as below:
string [] sids = { array of Student ids here };
string deptName = "math";
var pipeline = new BsonDocument[]
{
new BsonDocument(&qu...
user20358
Votes: 0
Answers: 1
Keep only 5 elements in array removing the last one when pushing mongodb to always have only 5 elements
I need to maintain an array of objects in MondoDB with only 5 elements, if another element is to be added, the first one is deleted and the new one is added, but always only 5 elements. Is there any w...
OscarDev
Votes: 0
Answers: 1
What happens to JWT refresh token that is yet to expire in a node application?
I have a blog application I am building. I used node.js, expressjs, mongodb and reactjs. This is how I implemented the jwt system in the app:
When a user logs-in, the user generates accessToken and a ...
kinhs
Votes: 0
Answers: 1