-
Hello guys.
I'm trying use the plugin, but my history not works.
My model:
`import mongoose from "mongoose";
import { validateEmail } from "../utils/validations";
import { ROLES } from "./Enu…
-
heres the code
const mongoose = require("mongoose");
const AddUnitSchema = new mongoose.Schema({
item:{
type: String,
enum: ['Meat','Poultry','Vegetables','Fruit'],
…
-
Dear @murilomothsin ,
I've tried to run your code to create a new tenant (/addclient) but it's cannot create (add) to my database.
{"client": {"name": "mothsin", "client_db": "mothsin_inc", "activ…
-
Hello bro, When I run "nodemon server.js" then show this error. I'm tried for the error
**# 1. server.js**
var express = require('express');
var app = express();
var bodyParser = require('body-…
-
## 설치 및 설정
- [ ] tpyeorm 설치 및 세팅
- [x] @nestjs/mongoose mongoose
## 환경설정
- [ ] .env 파일 수정(db 관련)
- [x] docker로 mongo & postgres 컨테이너 생성
-
## The dependency [mongoose](https://github.com/Automattic/mongoose) was updated from `5.8.0` to `5.8.1`.
🚨 [View failing branch](https://github.com/tf2pickup-pl/server/compare/master...tf2pickup-pl…
-
Hello,
I have the following schema:
```
const mongoose = require('mongoose');
const beautifyUnique = require('mongoose-beautiful-unique-validation');
const UserSchema = new mongoose.Schem…
rhecl updated
2 years ago
-
Environment: MacOS
Issue:
I have a NodeJS application that I want to run inside a Docker container to connect to the replica set using mongoose 5.10.6. I start my replica set with `run-rs --dbpath .…
-
**Current Behaviour**
The following fields parameter in my Mongoose query is not recognised by paginate function since the query simply returns the entire result including "bids.bid", which I am ex…
-
Let's start by making a User model for mongodb using the mongoose library. This will be the template used to describe what each individual *document* will look like in our *collection*.
Find the "mod…