144 Commits (master)
 

Author SHA1 Message Date
Tomasz Sowa 128f43482a make depend 2 days ago
Tomasz Sowa 3ddeb78c97 add LICENSE file 4 days ago
Tomasz Sowa ea6f9fd13e remove empty src/outstream.h file 7 days ago
Tomasz Sowa 1ad3d89d52 change headerfile_morm_* macros to headerfile_morm_src_* 7 days ago
Tomasz Sowa 576d537177 add src/version.h with macros: MORM_VERSION_MAJOR, MORM_VERSION_MINOR, MORM_VERSION_PATCH 7 days ago
Tomasz Sowa c89d4f76bc add global Makefile 2 weeks ago
Tomasz Sowa fc50c8ca5e fixed: in Finder::select(PT::TextStream & out_stream, ModelConnector & model_connector) 2 weeks ago
Tomasz Sowa 1ace47266d fix: correctly escape output stream buffer for models getters 1 month ago
Tomasz Sowa 21117e24c0 do Transaction::commit/rollback only on the same group for which a begin was called 1 month ago
Tomasz Sowa dd04ee84b7 capitalize INSERT/UPDATE/DELETE sql statements 1 month ago
Tomasz Sowa 1d4de8abe2 add support for nested transactions 1 month ago
Tomasz Sowa 907f10671d do not allow to copy/move transactions objects 1 month ago
Tomasz Sowa c5cf4a2672 add Transaction class as a wrapper for transactions 1 month ago
Tomasz Sowa b32917afe7 use pikotools Log::put_multiline() method when printing PostgreSQL error messages 1 month ago
Tomasz Sowa 0ce7578de3 fix: the way how we test if there is a connection issue 1 month ago
Tomasz Sowa 12232bf722 propagate status from childs in Model::insert, Model::update, Model::remove and Model::save 1 month ago
Tomasz Sowa 1ad4cb4fbd trim white lines after PostgreSQL error message 1 month ago
Tomasz Sowa 56cbebad4f add FT::numeric to be applied on string types 2 months ago
Tomasz Sowa 3bde64e033 add possibility to set save status for the whole tree 2 months ago
Tomasz Sowa df44296c04 fix: only insert primary keys from the first descendant childs 2 months ago
Tomasz Sowa 469294502e allow specify how many times we can try to connect to the database 2 months ago
Tomasz Sowa d384929e75 allow to use host connection parameter 2 months ago
Tomasz Sowa ac77abb8fd allow to use hostaddr, port or conn_string to connect to PostgreSQL 3 months ago
Tomasz Sowa 0bdabfc7b4 fix: put 'char' type directly to the output stream 5 months ago
Tomasz Sowa 48d515ea64 if pt::Space has FT::json type then let JSONExpression serialize it as json and not string 5 months ago
Tomasz Sowa c25a5d2215 - code from JSONExpression::esc(char val, ...) moved to Pikotools (convert/misc.h) 9 months ago
Tomasz Sowa e682e057ad added to SpaceWrapper class: void invalidate_iterators(size_t space_index_start) 11 months ago
Tomasz Sowa f94a9e27db added flags FT::json and FT::space for pt::Space class - serializing/parsing to/from json/space 11 months ago
Tomasz Sowa d162ca13bb fixed: in Model::add_field_for_select(...) there was a table name added 1 year ago
Tomasz Sowa f4d92bec5d added clearing of existing objects in Wrapper::operator=(...) 1 year ago
Tomasz Sowa dc6c70499c added: Wrapper class as a wrapper for: a model, model container (list/vector), Space or Date 1 year ago
Tomasz Sowa 84fd351bfc fixed: in BaseExpression::put_field_value_list_model() model_env_local.model pointer was not set to the child object 1 year ago
Tomasz Sowa 097c09b9e3 added to Model: virtual bool db_query(const char ** raw_sql, size_t len); 1 year ago
Tomasz Sowa e35a1d09a5 added ModelWrapper::space_indices_table_size() method 1 year ago
Tomasz Sowa 89148de66d updated samples 1 year ago
Tomasz Sowa 86bf9cf688 added ModelWrapperSpace for wrapping the pt::Space class 1 year ago
Tomasz Sowa e74575db42 fixed: in ModelWrapper::clear_childs() childs_map.clear() was called in the loop, should be at the end 1 year ago
Tomasz Sowa a8fe798279 fixed: getters method (Model::*getter_method)(pt::Stream &) produced boolean value when serializing to flat string 1 year ago
Tomasz Sowa aba454a4bf methods Model::get_raw_value(...) now returns boolean - true if a field was found 1 year ago
Tomasz Sowa 9a142548d0 fixed in Model::field_generic_put_raw_value_to_stream() - a boolean status for ezc was not set 1 year ago
Tomasz Sowa 5cf55ecce3 added basic support for containers with pointers to models 1 year 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 1 year ago
Tomasz Sowa d8f7216a73 added .editorconfig file 1 year 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: 1 year ago
Tomasz Sowa dd01fafa40 - added support for calling member functions (setters/getters) from Models 1 year ago
Tomasz Sowa 515e806a50 start adding support for Ezc library - Ezc::Generator is able to get variable value and call a static function 1 year ago
Tomasz Sowa 284cbc5c66 Merge pull request 'winix_fullmorm' (#4) from winix_fullmorm into master 1 year ago
Tomasz Sowa 2f72bd29ec fixed: has_primary_key_set was always set to false in Model::insert() 1 year ago
Tomasz Sowa e0e3465673 fixed: such field types: no_insertable, no_updatable were not taken into account on Model child objects 1 year ago
Tomasz Sowa fcd2c4775b updated to the new pikotools api: snake_case names of methods from SpaceParser 1 year ago