morm/src
Tomasz Sowa fcf1d28b18 added FT class which is used in Model::field() methods
FT class has following types:
   enum FieldType
   {
	default_type = 0,
        primary_key = 1,
	foreign_key = 2,
	foreign_key_in_child = 4,
	no_insertable = 8,
	no_updatable = 16,
	no_fetchable = 32, /* not supported yet */
   };
an object of FT class are now used in Model::field() methods instead of insertable/updatable/is_primary_key/... boolean flags

changed the semantic of has_foreign_key (which was a bool) flag in child Models:
now on Models and list/vector of Models you should use either FT::foreign_key or FT::foreign_key_in_child
1. FT::foreign_key means that field with this flag is a foreign key and is pointing to the child object
   (it was the case when has_foreign_key was equal to true beforehand)
2. FT::foreign_key_in child means that the foreign key is in the child object and is pointing to the parent object
2021-03-10 16:20:11 +01:00
..
Makefile start creating a new project: Micro ORM 2018-03-13 22:22:17 +00:00
Makefile.dep added FT class which is used in Model::field() methods 2021-03-10 16:20:11 +01:00
Makefile.o.dep removed: doc functionality (generating documentation from a model) 2019-09-18 15:55:42 +00:00
baseexpression.cpp added FT class which is used in Model::field() methods 2021-03-10 16:20:11 +01:00
baseexpression.h added FT class which is used in Model::field() methods 2021-03-10 16:20:11 +01:00
clearer.cpp added: a new class Clearer with clear_value() methods moved from DbConnector 2018-07-05 11:15:16 +00:00
clearer.h added: a new class Clearer with clear_value() methods moved from DbConnector 2018-07-05 11:15:16 +00:00
cursor.h added get_vector() methods to Finder and Cursor 2021-02-23 16:55:28 +01:00
cursorhelper.h fixed: get_value_by_field_name() is able to correctly take values when 2019-09-17 17:55:39 +00:00
dbconnector.cpp start adding support for inserting child models 2019-08-21 17:42:50 +00:00
dbconnector.h Added flag has_primary_key_set to Model 2021-03-09 18:10:34 +01:00
dbexpression.cpp added FT class which is used in Model::field() methods 2021-03-10 16:20:11 +01:00
dbexpression.h added FT class which is used in Model::field() methods 2021-03-10 16:20:11 +01:00
fieldvaluehelper.h fixed: a parent key was not properly set to simple childs (insert statements) 2019-09-24 17:08:45 +00:00
finder.h added FT class which is used in Model::field() methods 2021-03-10 16:20:11 +01:00
finderhelper.h added BaseExpression::is_long_field_name() 2019-05-31 18:28:09 +00:00
flatconnector.cpp added BaseExpression::is_long_field_name() 2019-05-31 18:28:09 +00:00
flatconnector.h Model and BaseExpression: changed the template taking a container to std::list 2018-07-05 09:51:26 +00:00
flatexpression.cpp PT::Date is serializing in the form YYYY-MM-DDTHH:MM:SSZ (eg: 1990-02-12T13:05:39Z) to JSON 2018-04-20 09:41:41 +00:00
flatexpression.h PT::Date is serializing in the form YYYY-MM-DDTHH:MM:SSZ (eg: 1990-02-12T13:05:39Z) to JSON 2018-04-20 09:41:41 +00:00
ft.h added FT class which is used in Model::field() methods 2021-03-10 16:20:11 +01:00
jsonconnector.cpp reorganizing class hierarchy 2018-03-23 19:26:57 +00:00
jsonconnector.h reorganizing class hierarchy 2018-03-23 19:26:57 +00:00
jsonexpression.cpp Added flag has_primary_key_set to Model 2021-03-09 18:10:34 +01:00
jsonexpression.h in BaseExpression: changed the way how field names are escaped: 2021-02-24 01:15:17 +01:00
model.cpp added FT class which is used in Model::field() methods 2021-03-10 16:20:11 +01:00
model.h added FT class which is used in Model::field() methods 2021-03-10 16:20:11 +01:00
modelconnector.cpp removed: doc functionality (generating documentation from a model) 2019-09-18 15:55:42 +00:00
modelconnector.h removed: doc functionality (generating documentation from a model) 2019-09-18 15:55:42 +00:00
modeldata.h some work in branches/join_models 2019-05-21 15:51:13 +00:00
modelenv.h added FT class which is used in Model::field() methods 2021-03-10 16:20:11 +01:00
morm.h removed: doc functionality (generating documentation from a model) 2019-09-18 15:55:42 +00:00
morm_types.h removed: doc functionality (generating documentation from a model) 2019-09-18 15:55:42 +00:00
outstream.h start creating a new project: Micro ORM 2018-03-13 22:22:17 +00:00
postgresqlconnector.cpp fixed: in cursor in add_models_to_list(): added_model.model_env should be set after added_model.clear() 2019-06-17 10:59:39 +00:00
postgresqlconnector.h fixed: in cursor in add_models_to_list(): added_model.model_env should be set after added_model.clear() 2019-06-17 10:59:39 +00:00
postgresqlexpression.cpp Added flag has_primary_key_set to Model 2021-03-09 18:10:34 +01:00
postgresqlexpression.h Added flag has_primary_key_set to Model 2021-03-09 18:10:34 +01:00
postgresqlqueryresult.cpp added comments to PostgreSQLQueryResult::get_value_from_result(): 2019-11-22 13:40:30 +00:00
postgresqlqueryresult.h fixed: in 'left join' statements there were not table indices used 2019-09-18 12:29:20 +00:00
queryresult.cpp fixed: in 'left join' statements there were not table indices used 2019-09-18 12:29:20 +00:00
queryresult.h fixed: in 'left join' statements there were not table indices used 2019-09-18 12:29:20 +00:00