JIYIK CN >

Current Location:Home > Learning >

All

Importing CSV files in MongoDB

Publish Date:2025/04/28 Author:JIYIK Category:MongoDB

This article is dedicated to helping you use the mongoimport command, which allows users to import CSV files into a database in MongoDB. This article explains what a CSV file is. An example CSV file is provided at the beginning to help you...

Full

Exporting a collection to CSV format in MongoDB

Publish Date:2025/04/28 Author:JIYIK Category:MongoDB

This article discusses in detail about exporting a collection to CSV format in MongoDB. We have two methods to export a collection to CSV format: Studio 3T and MongoExport. Export a collection to CSV format in MongoDB using the Studio 3T Ex...

Full

If statement in PostgreSQL

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

if Statement evaluates a condition by returning true or false value. We can use it to perform condition based queries. This article will teach you how to write if conditional statements and understand how conditional statements can help you...

Full

Querying between date ranges in PostgreSQL

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

This article will discuss different types of ranges to compare dates in PostgreSQL. Date ranges in PostgreSQL By default, PostgreSQL provides some ranges to compare values. In particular, we can use daterange and between to compare dates. T...

Full

Check the Postgres version

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

This article shows how to check the version of Postgres. Checking Postgres Version in Windows C: \ Users \ Admin psql -- version psql ( PostgreSQL ) 14.0 C : \ Users \ Admin postgres -- version postgres ( PostgreSQL ) 14.0 The version shown...

Full

Importing SQL files in PostgreSQL

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

This article discusses how to import SQL files in PostgreSQL. psql Import SQL files in PostgreSQL using command To import the SQL file, run the following command: psql - U dbuser - h localhost databasename filename. sql If the file is locat...

Full

Changing column types in Postgres

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

This article shows how to change a column type to another data type in Postgres. ALTER TABLE To change the column type in Postgres, use the command ALTER TABLE table_name ALTER COLUMN column_name [ SET DATA ] TYPE new_type ; Use 表名 , , 列...

Full

Changing User Password in Postgres

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

In this article, we will change the user password in Postgres. Changing User Passwords in Postgres Using Windows Open from the menu or search bar SQL Shell (psql) . Connect to the default database using the default port. If you set it up wi...

Full

Creating a Schema in PostgreSQL

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

This article will discuss creating schemas in PostgreSQL using SQL queries or psql. CREATE SCHEMA Use the statement to create a pattern in SQL query To create a new schema, execute the following command. CREATE SCHEMA test_schema To view al...

Full

Add unique constraint after creating table in PostgreSQL

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

Today we will learn how to add constraints after the rows in a table have been created UNIQUE . The UNIQUE constraint guarantees that the data in a row is unique in that column. So if the column ID exists, all rows will have unique values,...

Full

How to install and deploy PostgreSQL as a Docker container

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

PostgreSQL , also known as Postgres, is a leading object-relational database system. It is popular because it is highly compliant with the SQL standard and includes additional features that simplify processing complex data sets at scale. Po...

Full

Killing a process ID in PostgreSQL

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

Today, we will learn how to kill or stop a running query in the background when working with PostgreSQL database. This may happen if the frontend stops working but a background process is still running. In this case, you may want to kill th...

Full

Query string length in MongoDB

Publish Date:2025/04/27 Author:JIYIK Category:MongoDB

Sometimes, we need to find a specific document using special properties like string length. In this article, we will see how to find a specific document using string length in MongoDB, and we will also see an example on this topic for easy...

Full

MongoDB query nested objects

Publish Date:2025/04/27 Author:JIYIK Category:MongoDB

In this article, we will learn how to query nested objects in MongoDB. Querying nested objects in MongoDB MongoDB provides read operations to retrieve embedded or nested data from a collection or to search for embedded or nested documents....

Full

Case insensitive query in MongoDB

Publish Date:2025/04/27 Author:JIYIK Category:MongoDB

In this article, case insensitive queries are discussed briefly and in detail. Also, case insensitive search queries are explained in detail. This article discusses the following topics. Case-insensitive search Improve case-insensitive regu...

Full

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial