OpenM++ runtime library (libopenm)
|
table_expr table row. More...
Public Member Functions | |
TableExprRow (int i_modelId, int i_tableId, int i_exprId) | |
create row with supplied key field values. | |
TableExprRow (void) | |
create row with default empty field values. | |
const string | columnName (void) const |
return db column name based on expression id, example: ex_1 More... | |
Static Public Member Functions | |
static bool | isKeyLess (const TableExprRow &i_left, const TableExprRow &i_right) |
less comparator by unique key: model id, model table id, expr id. | |
static bool | isKeyEqual (const TableExprRow &i_left, const TableExprRow &i_right) |
equal comparator by unique key: model id, model table id, expr id. | |
![]() | |
static bool | keyLess (const IRowBaseUptr &i_left, const IRowBaseUptr &i_right) |
less comparator by row primary key. | |
static bool | keyEqual (const IRowBaseUptr &i_left, const IRowBaseUptr &i_right) |
equal comparator by row primary key. | |
Public Attributes | |
int | modelId |
model_id INT NOT NULL | |
int | tableId |
table_id INT NOT NULL | |
int | exprId |
expr_id INT NOT NULL | |
string | name |
expr_name VARCHAR(255) NOT NULL | |
int | decimals |
expr_decimals INT NOT NULL | |
string | srcExpr |
expr_src VARCHAR(255) NOT NULL | |
string | sqlExpr |
expr_sql VARCHAR(2048) NOT NULL | |
table_expr table row.
const string TableExprRow::columnName | ( | void | ) | const |
return db column name based on expression id, example: ex_1
return db column name based on expression id, example: expr1