#include <models.h>
◆ Field()
mantis::Field::Field |
( |
std::string |
n, |
|
|
FieldType |
t, |
|
|
bool |
req = false , |
|
|
bool |
pk = false , |
|
|
bool |
sys = false , |
|
|
json |
opts = json::object() |
|
) |
| |
◆ to_json()
json mantis::Field::to_json |
( |
| ) |
const |
◆ toSociType() [1/2]
soci::db_type mantis::Field::toSociType |
( |
| ) |
const |
◆ toSociType() [2/2]
soci::db_type mantis::Field::toSociType |
( |
const FieldType & |
f_type | ) |
|
|
static |
◆ autoGeneratePattern
std::optional<std::string> mantis::Field::autoGeneratePattern |
◆ defaultValue
std::optional<std::string> mantis::Field::defaultValue |
◆ isUnique
bool mantis::Field::isUnique = false |
◆ maxValue
std::optional<double> mantis::Field::maxValue |
◆ minValue
std::optional<double> mantis::Field::minValue |
◆ name
std::string mantis::Field::name |
◆ primaryKey
bool mantis::Field::primaryKey = false |
◆ regexPattern
std::optional<std::string> mantis::Field::regexPattern |
◆ required
bool mantis::Field::required = false |
◆ system
bool mantis::Field::system = false |
◆ type
◆ validator
std::optional<std::string> mantis::Field::validator |
The documentation for this struct was generated from the following files:
- /home/runner/work/mantis/mantis/include/mantis/core/models/models.h
- /home/runner/work/mantis/mantis/src/core/models/models.cpp