Aditya Gupta

Node.js MongoDB Query: With Sorting and Projection

Unlike MySQL, where a query can perform various operations like creating tables, inserting records, deleting records, etc, in MongoDB we have separate functions for these such as createCollection(), insertOne(), insertMany(), deleteOne(), and deleteMany(). Queries in MongoDB do not handle such tasks. So what does it do? Queries in MongoDB are used to filter the result

Node.js MongoDB Query: With Sorting and Projection Read More »

Generate Dynamic Metadata in Next.js: Metadata Object & generateMetadata Options

Generally, we use something like this to create metadata in Next.js: And it works very well, as we can see below: But if you observe the source code, you can see one other that is by default defined by Next.js by root layout: The same goes for descriptions and other tags: Having duplicate metadata tags

Generate Dynamic Metadata in Next.js: Metadata Object & generateMetadata Options Read More »

Review Your Cart
0
Add Coupon Code
Subtotal