116 Commits (master)
 

Author SHA1 Message Date
Tomasz Sowa d162ca13bb fixed: in Model::add_field_for_select(...) there was a table name added 5 months ago
Tomasz Sowa f4d92bec5d added clearing of existing objects in Wrapper::operator=(...) 5 months ago
Tomasz Sowa dc6c70499c added: Wrapper class as a wrapper for: a model, model container (list/vector), Space or Date 5 months ago
Tomasz Sowa 84fd351bfc fixed: in BaseExpression::put_field_value_list_model() model_env_local.model pointer was not set to the child object 5 months ago
Tomasz Sowa 097c09b9e3 added to Model: virtual bool db_query(const char ** raw_sql, size_t len); 5 months ago
Tomasz Sowa e35a1d09a5 added ModelWrapper::space_indices_table_size() method 5 months ago
Tomasz Sowa 89148de66d updated samples 5 months ago
Tomasz Sowa 86bf9cf688 added ModelWrapperSpace for wrapping the pt::Space class 6 months ago
Tomasz Sowa e74575db42 fixed: in ModelWrapper::clear_childs() childs_map.clear() was called in the loop, should be at the end 6 months ago
Tomasz Sowa a8fe798279 fixed: getters method (Model::*getter_method)(pt::Stream &) produced boolean value when serializing to flat string 6 months ago
Tomasz Sowa aba454a4bf methods Model::get_raw_value(...) now returns boolean - true if a field was found 6 months ago
Tomasz Sowa 9a142548d0 fixed in Model::field_generic_put_raw_value_to_stream() - a boolean status for ezc was not set 6 months ago
Tomasz Sowa 5cf55ecce3 added basic support for containers with pointers to models 6 months ago
Tomasz Sowa dc1c601eac in Model: added a test whether Model is a base class of ContainerItemType (list/vector) when doing MORM_MODEL_WORK_MODE_GET_MODEL_WRAPPER 6 months ago
Tomasz Sowa d8f7216a73 added .editorconfig file 6 months ago
Tomasz Sowa aeb02f82b1 changed the way how we get a specific field value - now we do not use expressions (BaseExpression), to get the raw value we don't need an expression object: 6 months ago
Tomasz Sowa dd01fafa40 - added support for calling member functions (setters/getters) from Models 6 months ago
Tomasz Sowa 515e806a50 start adding support for Ezc library - Ezc::Generator is able to get variable value and call a static function 6 months ago
Tomasz Sowa 284cbc5c66 Merge pull request 'winix_fullmorm' (#4) from winix_fullmorm into master 6 months ago
Tomasz Sowa 2f72bd29ec fixed: has_primary_key_set was always set to false in Model::insert() 7 months ago
Tomasz Sowa e0e3465673 fixed: such field types: no_insertable, no_updatable were not taken into account on Model child objects 7 months ago
Tomasz Sowa fcd2c4775b updated to the new pikotools api: snake_case names of methods from SpaceParser 7 months ago
Tomasz Sowa 9598cc4def updated to the new pikotools api: SpaceParser::SetSpace(...) methods have been removed 7 months ago
Tomasz Sowa 0ff900f626 updated to the new pikotools api: changed utf8 functions PascalCase to snake_case 7 months ago
Tomasz Sowa 34274ca230 namespace PT renamed to pt 7 months ago
Tomasz Sowa b12037a7e5 added basic support for making migrations 7 months ago
Tomasz Sowa de4abeb91c added to Finder: methods eq() and similar with table_name as an argument 7 months ago
Tomasz Sowa 6eaa9088e5 renamed in Model: map_fields() to fields(), prepare_table() to table() 7 months ago
Tomasz Sowa 2ad6c8c258 changed the way how to quote schemas, tables and field names, 7 months ago
Tomasz Sowa a1537cf8d5 BaseExpression: removed methods: put_long_field_name() and put_short_field_name() 7 months ago
Tomasz Sowa 179be2864f change FT field_type in PostgreSQLConnector 7 months ago
Tomasz Sowa aadc5be350 FT field_type changed to const FT & field_type in functions arguments 7 months ago
Tomasz Sowa c7797ff2f1 fixed #2: escape tables/columns names in Finder left join queries 7 months ago
Tomasz Sowa 009955a0fd added support for hex strings and binary strings 7 months ago
Tomasz Sowa 2afe111c57 escape table names in Finder (select sql statement) 7 months ago
Tomasz Sowa c87afb40d2 use prepare_table() only with a database and not for flat strings 8 months ago
Tomasz Sowa 1c5d32551a fixed: a null was printed for id when serializing lists/vectors 8 months ago
Tomasz Sowa 9a4fd9b050 fixed: add_field_for_select from Model incorrectly escaped a field string (column name) 8 months ago
Tomasz Sowa 79fd642ef7 make depend 8 months ago
Tomasz Sowa c85165b442 updated to the new api of Space from pikotools 8 months ago
Tomasz Sowa d78aa325d3 fixed: prepare_to_select() should initialize 'model' but it was initialized only in select() 8 months ago
Tomasz Sowa 1e2cbad6a7 make depend 8 months ago
Tomasz Sowa 7bef1d5ead added support for PT::Space as a field in a Model 9 months ago
Tomasz Sowa f7490594ad changed the way how the table name is set in a Model - added prepare_table() method 9 months ago
Tomasz Sowa fcf1d28b18 added FT class which is used in Model::field() methods 9 months ago
Tomasz Sowa 133a45c84b Added flag has_primary_key_set to Model 9 months ago
Tomasz Sowa ff551a64b8 in BaseExpression: changed the way how field names are escaped: 9 months ago
Tomasz Sowa 0843e384eb added get_connector() method to Model 9 months ago
Tomasz Sowa b672b67e5c added get_vector() methods to Finder and Cursor 9 months ago
Tomasz Sowa c18bb48cc8 fixed: incorrect query was created when using neq() method with finder - there was no and or or conjunction 9 months ago