SQL Auto Increment
The SQL AUTO INCREMENT keyword allows a unique number to be generated automatically whenever a new record is inserted into a table. SQL AUTO INCREMENT Field This is often the primary key field that we...
View ArticleSQL Insert Into
The SQL INSERT INTO statement is used to insert new records in a table. SQL INSERT INTO Statement There are two possible ways to insert data into the table using The INSERT INTO statement. Syntax...
View ArticleNode 16 is released with updated platform support and much more!
Node 16 has released on 20th April 2021 with updated platform support, V8 version 9, and more. This article studies the new features of Node 16 along with the deprecations and breaking changes. The...
View ArticleSQL Null Values
The SQL NULL value means a field with no value present in it. What is a SQL NULL Value? If a field in a table is optional in other words if it’s not mandatory, it is possible to insert a new record or...
View ArticleHow to write a callback function in javascript?
A callback function is a function that is passed to another function as an argument and is executed after some operation has been completed. for example of a simple callback function that logs to the...
View ArticleHow to create a cookie using JavaScript?
The simplest way to create a cookie is to assign a string value to the document.cookie object, for example- document.cookie = "key1 = value1; key2 = value2; expires = date"; // Example var now = new...
View ArticleHow to use for loops to break out early in javascript?
for loop in modern JavaScript is rarely talked about although it’s only useful in asynchronous operation scenarios. But what breaking out early consider the following example: Matching two array const...
View ArticleHow to parse cookies in javascript?
In the browser cookies is store in string format containing key-value pairs. So, how to parse a browser Cookie string and return an object of all cookie name-value pairs? separate each key-value pair...
View ArticleHow to get properties indicated by given selectors from an object?
Consider an object from which we want to retrive properties. const obj = { earth: { level: { one: 'soft mud and rocks' } }, vibrations: [1, 2, { range: 'medium' }], }; Use [...].map() for each...
View Article