Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

155
Views
Mongoose Schema saves Symbols with null

I have a Schema where it shoukd save "# teste" as String,but when I create a new date,it saves as null. Basically I am saving it like that cause I am using markdown it in frontend to render this value as html.

    const { Schema } = require("mongoose");
const mongoose = require("../database/database");
const shortid = require("shortid");
 const moment = require("moment")
const ServerSchema = new Schema({

  description:{
    type: String ,
    require:true,
    default: "## h2 Heading"
  },

});

const server = mongoose.model("servers", ServerSchema);
module.exports = server;

how can I make it save those symbols ?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!