Output: [ { _id: 1, content: 'a b c d e f g h i j k l m n o p q r s t u v w x y z ', }, { _id: 2, content: 'b c d e f g ...
Output: [ { _id: 1, content: 'a b c d e f g h i j k l m n o p q r s t u v w x y z ', }, { _id: 2, content: 'b c d e f g ...
I am trying to resume training monkAI pytorch retinanet. I have loaded with .pt file instead of actual model. The changes are made in Monk_Object_Dete ...
class User { constructor(doc) { this.username = doc.username; this.kills = doc.kills; this.deaths = doc.deaths; } } const res = awai ...
I use a mongodb database where I have its internal log data. With Express, Node and Monk (following this guide) I have to try to get data from a searc ...
I'm try to bundle with browserify when I try I get this error I can't understand. This is index.js: const dotenv = require("dotenv").config(); ...
I have a document on my collection that has the id "info". I can search on Mongo Atlas easily with {_id: "info"} filter, but when I try with Monk on N ...
I've run into a problem that simple mongodb/monk find() doesn't work. I know find() returns promise and all 3 ways to resolve it doesn't work. What am ...
Anyone know how I can fix this failed to connect to server [DB_CLUSTER] on first connect [MongoError: getaddrinfo ENOTFOUND I am using Monk to conne ...
I'm trying to find and update a field in a document using Monk. The problem is, I am trying to using a variable in the property area. (property: value ...
I am trying and failing to delete an object from a mongo collection that I created. I can make get and post requests just fine, but I am totally lost ...
I am trying to get the latest 50 documents with the line but this only gets the oldest 50 documents instead of the latest ones Any way i can solve ...
So I've been dealing with this problem for some time now, and it has been really resilient considering the little lines of code. I have gone trough th ...
I want to display user scores ordered by scores: I start off with this in my server.js file: Chrome log: The only way of sorting, that does ...
I am putting together a blog from NodeJs, Pug, Express, Monk, etc and having trouble retrieving a single post from the db. I keep getting a 404 not fo ...
I have a collection containing usernames. If a user searches for "joe", I want it to return "Joe", and any case-different variants (i.e. "jOe", etc.). ...
I have the following document structure to record a user's friends list: When receiving a request for a user, say "Alice", I'd like to retrieve Ali ...
When looking for pagination techniques on the internet, one usually finds two ways : Offset-based pagination : Collection.find( { where_this: ...
I use Node with Monk, a simple library for MongoDB. It doesn't have insertOne and so on. And it's totally annoying to get a deprecation warning on eac ...
I have an angular app that when it loads gets all the data from a mongodb atlas collection that has around 12K records it is increasing every day, so ...
I am building an RESTful API using expressjs and Monk. There's a requirement where I should grab several documents from different collections (One-to- ...