![]() |
MantisBase v0.4.9
|
#include <entity_schema_field.h>
Public Member Functions | |
| nlohmann::json | toJSON () const |
Static Public Member Functions | |
| static IndexDefinition | fromJSON (const nlohmann::json &j) |
Public Attributes | |
| std::string | name |
| bool | unique = false |
| std::vector< std::string > | columns |
Secondary index definition attached to an entity schema.
|
static |
Parse index definition from schema JSON.
|
nodiscard |
Serialize index definition to schema JSON.
| std::vector<std::string> mb::IndexDefinition::columns |
| std::string mb::IndexDefinition::name |
| bool mb::IndexDefinition::unique = false |