Lightweight 0.20251202.0
Loading...
Searching...
No Matches
Lightweight::SqlSchema::IndexDefinition Struct Reference

Represents an index definition on a table. More...

#include <SqlSchema.hpp>

Public Attributes

std::string name
 The name of the index.
 
std::vector< std::string > columns
 The columns in the index (in order for composite indexes).
 
bool isUnique = false
 Whether the index enforces uniqueness.
 

Detailed Description

Represents an index definition on a table.

Definition at line 99 of file SqlSchema.hpp.

Member Data Documentation

◆ name

std::string Lightweight::SqlSchema::IndexDefinition::name

The name of the index.

Definition at line 102 of file SqlSchema.hpp.

◆ columns

std::vector<std::string> Lightweight::SqlSchema::IndexDefinition::columns

The columns in the index (in order for composite indexes).

Definition at line 105 of file SqlSchema.hpp.

◆ isUnique

bool Lightweight::SqlSchema::IndexDefinition::isUnique = false

Whether the index enforces uniqueness.

Definition at line 108 of file SqlSchema.hpp.


The documentation for this struct was generated from the following file: