ores.refdata.currency_currency_group
Table of Contents
Many-to-many junction between currency and currency_group, mirroring
the existing party_currencies pattern. A currency can belong to any
number of groups simultaneously (e.g. NOK: G11 and SCANDIES and
COMMODITY) — see
Currency pair support in reference data for the design rationale
(replacing the original boolean is_g11 flag).
1. Flags
2. Left
ISO 4217 code of the currency.
References ores_refdata_currencies_tbl.iso_code (soft FK).
std::string("NOK")
3. Right
Code of the currency group this currency belongs to.
References ores_refdata_currency_groups_tbl.code (soft FK).
std::string("G11")
4. Columns
5. SQL
5.1. Flags
6. Repository
7. C++
7.1. Flags
7.2. Domain includes
#include <chrono> #include <string>
7.3. Entity includes
#include <string> #include "sqlgen/Timestamp.hpp" #include "sqlgen/PrimaryKey.hpp"
7.4. Conventions
7.5. Table display
| column | header |
|---|---|
| currency_iso_code | Currency |
| currency_group_code | Group |
| modified_by | Modified By |
| version | Version |
8. See also
- ores.refdata — component group overview.
- Currency pair support in reference data — parent story.