Idris Brhane

Idris Brhane

1604549280

Denormalize is a Nodejs library for dealing with Denormalized Reference in Mongodb

Denormalize

Denormalize is a Nodejs library for dealing with Denormalized Reference in Mongo db.

Installation

TODO: Publish to npm.

Not Ready Yet lol 

Usage

import { modifyRelativesOnUpdate } from "denormalize";

const userSchema = new Schema({
    age:Number,
    name:  
    {
      type:String,
    },
    lastName: String,
});

const orderSchema = new Schema({
    orderId: String,
    user:{
        name:String,
        last_name:String
    },
  });

modifyRelativesOnUpdate({
    connectorName:"user",
    schema:userSchema
  },
  {
    connectorName:"order",
    schema:orderSchema,
    query:{
      user:{
        name:"name"
      }
    }
  },
);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

  • [x] Update simple Reference
  • [x] Update Array of strings Reference
  • [ ] Update Array of Objects Reference

Download Details:

Author: adhranjan

Source Code: https://github.com/adhranjan/denormalize

#deno #nodejs #node #javascript

What is GEEK

Buddha Community

Denormalize is a Nodejs library for dealing with Denormalized Reference in Mongodb

Query of MongoDB | MongoDB Command | MongoDB | Asp.Net Core Mvc

https://youtu.be/FwUobnB5pv8

#mongodb tutorial #mongodb tutorial for beginners #mongodb database #mongodb with c# #mongodb with asp.net core #mongodb

Install MongoDB Database | MongoDB | Asp.Net Core Mvc

#MongoDB
#Aspdotnetexplorer

https://youtu.be/cnwNWzcw3NM

#mongodb #mongodb database #mongodb with c# #mongodb with asp.net core #mongodb tutorial for beginners #mongodb tutorial

Hire NodeJs Developer

Looking to build dynamic, extensively featured, and full-fledged web applications?

Hire NodeJs Developer to create a real-time, faster, and scalable application to accelerate your business. At HourlyDeveloper.io, we have a team of expert Node.JS developers, who have experience in working with Bootstrap, HTML5, & CSS, and also hold the knowledge of the most advanced frameworks and platforms.

Contact our experts: https://bit.ly/3hUdppS

#hire nodejs developer #nodejs developer #nodejs development company #nodejs development services #nodejs development #nodejs

Insert & Save method in MongoDB | Inserting Document | CRUD Operation in MongoDB

#MongoDB
#AspDotNetExplorer
https://youtu.be/CohnNdE_rjM

#mongodb #mongodb tutorial for beginners #mongodb tutorial #mongodb database #learn mongodb

Idris Brhane

Idris Brhane

1604549280

Denormalize is a Nodejs library for dealing with Denormalized Reference in Mongodb

Denormalize

Denormalize is a Nodejs library for dealing with Denormalized Reference in Mongo db.

Installation

TODO: Publish to npm.

Not Ready Yet lol 

Usage

import { modifyRelativesOnUpdate } from "denormalize";

const userSchema = new Schema({
    age:Number,
    name:  
    {
      type:String,
    },
    lastName: String,
});

const orderSchema = new Schema({
    orderId: String,
    user:{
        name:String,
        last_name:String
    },
  });

modifyRelativesOnUpdate({
    connectorName:"user",
    schema:userSchema
  },
  {
    connectorName:"order",
    schema:orderSchema,
    query:{
      user:{
        name:"name"
      }
    }
  },
);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

  • [x] Update simple Reference
  • [x] Update Array of strings Reference
  • [ ] Update Array of Objects Reference

Download Details:

Author: adhranjan

Source Code: https://github.com/adhranjan/denormalize

#deno #nodejs #node #javascript