added BaseExpression::is_long_field_name()
added BaseExpression::need_to_add_field_prefix() now the fields() methods don't take add_column_prefix parameter but the field_name (wchar_t*) is tested whether is it a long (with a period) or short name added BaseExpression::save_foreign_key() (code moved from field()) removed some default method arguments from BaseExpression added neq() method for Finder added DbExpression::prepare_short_table_name(const PT::TextStream & table_name, PT::TextStream & short_table_name) git-svn-id: svn://ttmath.org/publicrep/morm/branches/join_models@1194 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -71,10 +71,15 @@ public:
|
||||
column_expression += L" as ";
|
||||
column_expression += new_column_name;
|
||||
|
||||
field(column_expression.c_str(), field_value, false, false, false, false);
|
||||
// put nullptr to ModelEnv* to not allow to use prefix
|
||||
// or may better remember current value of use_prefix and set it to false for a while?
|
||||
field(column_expression.c_str(), field_value, false, false, false, nullptr);
|
||||
}
|
||||
|
||||
|
||||
virtual void prepare_short_table_name(const PT::TextStream & table_name, PT::TextStream & short_table_name);
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
int output_type;
|
||||
|
Reference in New Issue
Block a user