Databases In MongoDB

Databases In MongoDB In MongoDB the databases are divided in to two types based on the data they store they are. 1. Default databases 2. Non default databases Non default databases: The databases that are created explicitly depend on the needs of the users. Default… Read More

Remote Connections in PostgreSQL

Remote Connections in PostgreSQL: Remote connections will allow you to connect to a PostgreSQL server from a different machine or network. In this article, we will explore the steps to establish remote connections in PostgreSQL and provide best practices for securing these connections. This article… Read More

MongoDB Commands On Operators

MongoDB Commands On Operators To create a collection called student data.

To get all the documents in a collection called student data without any filter.

To get all the documents whose total marks is equals to 560.

To get all the documents… Read More

ENVIRONMENT VARIABLES IN PostgreSQL:

ENVIRONMENT VARIABLES IN PostgreSQL: These are useful to avoid hard-coding database connection information into simple client applications, for example. To start a PostgreSQL server, you can run the following command:

However, you can also use an environmental variable to create a shortcut for this… Read More

MongoDB Query Operators Part-3

MongoDB Query Operators Part-3 Evaluation Query Operators MongoDB Evaluation operators are used to evaluate the structure of overall data or the individual fields in the document. They are of six types of Evaluations operators 1. mod ($mod) 2. text ($text) 3. where ($where) 4. jsonSchema… Read More

MongoDB Query Operators Part-2

MongoDB Query Operators Part-2 Element Query Operator This operator is used to find the documents based on the datatypes and the fields in a document. There are two element query operators. 1. exists ($exists) 2. type ($type) 1. exist ($exist): This operator is used to… Read More

PostgreSQL: Clauses and filters

Clauses and filters: Like clause:

LIMIT Clause: The LIMIT clause is used to restrict the number of rows returned in the result set. It is useful when you want to retrieve only a certain number of rows.

OFFSET Clause: It is used in conjunction… Read More

MongoDB Query Operators

MongoDB Query Operators There are different types of Operators available in MongoDB which are used to filter the data. 1 – Comparison operators 2 – Logical operators 3 – Element operators 4 – Evaluation operators 5 – Geospatial operators 6 – Array operators 7 –… Read More