Database.Guide

Skip to content

Beginners

  • What is a Database?
  • Database Tutorial

SQL

  • SQL Tutorial
  • SQL Reference
  • SQL Joins Tutorial
  • SQL Transactions Tutorial
  • Basic SQL Queries

Categories

  • Azure SQL Edge (17)
  • Database Concepts (99)
  • Database Tools (72)
  • DBMS (9)
  • DuckDB (128)
  • MariaDB (424)
  • Microsoft Access (17)
  • MongoDB (265)
  • MySQL (602)
  • NoSQL (8)
  • Oracle (301)
  • PostgreSQL (480)
  • Redis (210)
  • SQL (697)
  • SQL Server (1,169)
  • SQLite (298)

Tag: indexes

3 Ways to Create an Index in MongoDB

Posted on January 6, 2021August 5, 2024 by Ian

In MongoDB, you can create an index on a collection using the createIndex() method, the createIndexes() method, or the createIndexes administration command.

Continue reading →
MongoDB how to, indexes

Create a Wildcard Index in MongoDB

Posted on January 6, 2021August 5, 2024 by Ian

There are several ways to create an index in MongoDB, and from MongoDB 4.2, we can create wildcard indexes.

A wildcard index can be thought of as a kind of filter that automatically matches any field, sub-document or array in a collection and then indexes those matches.

Continue reading →
MongoDB how to, indexes

List all Indexes in an SQLite Database

Posted on May 13, 2020August 5, 2024 by Ian

In this article I outline two ways to return a list of indexes in an SQLite database.

The first (and most obvious) method is to use the .indexes dot command. The second method is to query the sql_master table.

Continue reading →
SQLite how to, indexes
  • «
  • 1
  • …
  • 8
  • 9
  • 10

About Database.Guide | Privacy Policy