Skip to content

Category Archives: Node.js

Module Wrapper Function: Under the hood, NodeJS does not run our code directly, it wraps the entire code inside a function before execution. This function… Read More
CHARACTER_LENGTH() function is a built-in function in MySQL that is used to get a number of characters in a given string. Syntax: CHARACTER_LENGTH(input_string) Parameters: It… Read More
UPPER() function is a built-in function in MySQL that is used to convert all characters of a given string to uppercase. Syntax: UPPER(input_string) Parameters: It… Read More
UCASE() function is a builtin function in MySQL that is used to convert all characters of a given string to uppercase. Syntax: UCASE(input_string) Parameters: It… Read More
TRIM() function is a built-in function in MySQL that is used to trim all spaces from both sides of the input string. Syntax: TRIM(string) Parameters:… Read More
The pathExists() tests whether the given file path exists or not. It uses the fs.access() under the hood. Syntax: fs.pathExists(file,callback) Parameters: This function accepts two… Read More
SUBSTRING() function is a built-in function in MySQL that is used to get a substring of input string between given range inclusive. Syntax: SUBSTRING(input_string, from,… Read More
In this article, will learn to handle NULL values and make Query on the basis of NULL values. Syntax: IS NULL; IS NOT NULL; Return… Read More
We will be using Min() function in MySQL to get Minimum value from some particular column. Syntax: MIN(column_name) Parameters: MIN() function accepts a single parameter… Read More
CommonJS modules consists usage of exports and require() statements, while EcmaScript modules consists usage of import and export statements. Learn more here: Difference between node.js… Read More
Yhe remove() function deletes the given file or directory. All the files inside a directory are deleted. If the given file or directory does not… Read More
Most probably, known to everyone – Web Development is majorly classified into 2 categories: Frontend and Backend Development. Though both these areas required different technologies… Read More
Nowadays the extension of JavaScript i.e Node.js is quite popular among programmers in the field of competitive programming. In this article, we will discuss how… Read More
MongoDB ObjectId: MongoDB creates a unique 12 bytes ID for every object using the timestamp of respective Object creation.This ObjectId can be used to uniquely… Read More
NPM (Node Package Manager) is the default package manager for Node.js and is written entirely in Javascript. Developed by Isaac Z. Schlueter, it was initially… Read More