Commit Graph

416 Commits

Author SHA1 Message Date
Sascha Kühl f4e984a288 insert_query_builder has_many progress 2026-04-03 19:15:15 +02:00
Sascha Kühl 40dfc30dae fixed indentation for uuid class 2026-04-03 19:14:38 +02:00
Sascha Kühl 920fdc68ed refactored identifier, added tests and added primary_key_accessor and tests 2026-04-03 19:14:14 +02:00
sascha fedce38270 removed class query and moved their static methods to simple functions 2026-03-26 09:34:32 +01:00
sascha 905ee019d7 startet pk_accessor class 2026-03-19 16:46:44 +01:00
sascha 6b2db17f58 added test for table sequence 2026-03-19 11:52:34 +01:00
sascha 6423bd505b pk generator progress and sequence test progress 2026-03-18 15:54:08 +01:00
sascha 7996608f62 added missing nodiscard 2026-03-16 13:37:33 +01:00
sascha 86c9e6b1cd sequence tests progress 2026-03-13 16:18:41 +01:00
Sascha Kühl 6bdf281eab used make_object for object_ptr in tests 2026-03-08 20:24:34 +01:00
sascha 2aff0cabbb column_expression progress 2026-03-06 15:39:53 +01:00
Sascha Kühl 9b4738a5ff progress on column_expression and table_column_expression 2026-03-06 07:29:23 +01:00
sascha bc8158a6ca column_expression progress 2026-03-05 16:10:02 +01:00
sascha d9eaa2009f split column expression into separate classes 2026-03-02 16:20:54 +01:00
Sascha Kühl 85c56584be added column_expression and table_column_expression 2026-03-01 20:23:59 +01:00
sascha 1e78430855 added returning to update statement and added error code implementation for query 2026-02-27 16:29:49 +01:00
Sascha Kühl 626eae1ac8 added more pk generator types 2026-02-26 07:31:35 +01:00
sascha 0157233b02 removed serialize(const char*) method 2026-02-25 15:51:00 +01:00
sascha cab3e508bb Merge remote-tracking branch 'origin/feature/matador-ng' into feature/matador-ng 2026-02-24 16:24:18 +01:00
sascha d50a8f2b76 added sequence_pk_generator implementation 2026-02-24 16:24:06 +01:00
Sascha Kühl e45c38b229 added object_cache and test 2026-02-22 22:36:42 +01:00
Sascha Kühl a2c5bca709 has many to many relation inserts 2026-02-19 22:32:15 +01:00
Sascha Kühl 1deaab116c set result_type in query_context to specify type 2026-02-19 18:17:42 +01:00
Sascha Kühl 4377f2fab1 comment unused variables 2026-02-19 18:16:55 +01:00
Sascha Kühl 6c3af53dfa added missing include for atomic 2026-02-18 22:17:38 +01:00
sascha 36168b2e33 some code refactoring and cleanup 2026-02-18 15:44:33 +01:00
sascha e5072741f0 insert_query_builder progress 2026-02-18 15:32:27 +01:00
Sascha Kühl 0876535b44 primary key generator progress: added primary_key_generator_finder 2026-02-17 22:43:53 +01:00
sascha 38dc42ade8 insert_query_builder progress 2026-02-17 16:19:14 +01:00
sascha 5668f1060b added sequence-specific code (create, drop and nextval) 2026-02-17 13:31:06 +01:00
Sascha Kühl ae7c1f510f introduced make_object function to create object_ptr instances and removed some session::insert overloads for simplicity 2026-02-16 11:29:27 +01:00
Sascha Kühl a2a6448e03 introduced object_state enum in object_proxy 2026-02-16 11:28:49 +01:00
Sascha Kühl f38be4c6d9 added `returning` token for insert query 2026-02-15 18:34:12 +01:00
Sascha Kühl 9065355ee0 refactored record classe 2026-02-15 18:33:22 +01:00
Sascha Kühl 746fd9e8d2 added some additional methods to table for later use 2026-02-12 16:16:46 +01:00
Sascha Kühl 4c63322024 identity generator progress 2026-02-11 16:01:44 +01:00
Sascha Kühl 40b163ac39 pass query_context to execute 2026-02-10 13:17:05 +01:00
Sascha Kühl 99677b0e21 introduced execute_result 2026-02-10 11:57:09 +01:00
Sascha Kühl d9f9712487 added InsertQueryBuilderTest.cpp 2026-02-09 16:46:56 +01:00
Sascha Kühl c1620d620e compile fixes in session 2026-02-09 13:04:55 +01:00
Sascha Kühl cf977a32aa formatting amd naming issues in message_bus.hpp 2026-02-09 13:04:36 +01:00
Sascha Kühl 54e6786ceb some improvements to select_query_builder and started insert_query_builder 2026-02-08 22:38:11 +01:00
Sascha Kühl a498efd21d renamed query::entity_query_data to query::select_query_data 2026-02-07 10:37:03 +01:00
Sascha Kühl c0e0499204 small changes in log_manager.cpp and add is_database_primitive type traits and test 2026-02-05 16:36:27 +01:00
Sascha Kühl 018e27a22a renamed cascade_type enums 2026-02-04 15:18:46 +01:00
Sascha Kühl 1a1ecd1613 logger fixes 2026-02-04 15:13:27 +01:00
Sascha Kühl 520b2bab49 stabilized logger classes 2026-02-04 14:45:26 +01:00
Sascha Kühl e7e66f44e2 moved pk_reader to internal 2026-02-04 10:16:24 +01:00
Sascha Kühl 4d886f0343 collection has-many-to-many resolve progress 2026-02-03 15:36:58 +01:00
Sascha Kühl 73abd61eba has many to many collection resolver progress 2026-02-03 07:26:37 +01:00
Sascha Kühl 621c3703fd collection_resolver progress 2026-02-02 13:40:53 +01:00
Sascha Kühl f9333158e2 collection resolver progress 2026-02-01 13:17:40 +01:00
Sascha Kühl c838e9dd7b removed query_record_result and moved content to query_result 2026-01-31 11:25:44 +01:00
Sascha Kühl 0d3ab09c14 collection_resolver progress 2026-01-30 15:53:31 +01:00
Sascha Kühl bcec740d60 collection_resolver progress 2026-01-29 17:23:16 +01:00
Sascha Kühl 602b77e67b collection_resolver progress 2026-01-28 16:09:54 +01:00
Sascha Kühl 6205ae81c9 collection_resolver progress 2026-01-27 16:31:37 +01:00
Sascha Kühl b6cabbe3ed collection resolver progress 2026-01-27 08:14:05 +01:00
Sascha Kühl 1cf39d0ef1 collection_resolver progress 2026-01-26 16:20:16 +01:00
Sascha Kühl 046c1d8ed2 collection resolver producer progress 2026-01-25 22:00:11 +01:00
Sascha Kühl 4b015c8ced fixed table_column naming consistency and added result_name method 2026-01-23 13:03:41 +01:00
Sascha Kühl 15f959b24e renamed sql_command enum names 2026-01-23 09:22:27 +01:00
Sascha Kühl d13ccc861e renamed query_compiler to query_builder. Changed handling of column names (broken) 2026-01-23 08:10:38 +01:00
Sascha Kühl 686b1ddb7a progress on query compiler 2026-01-22 16:14:42 +01:00
Sascha Kühl b331ef6923 criteria progress 2026-01-22 11:38:02 +01:00
Sascha Kühl 328d164c05 criteria progress 2026-01-21 16:08:27 +01:00
Sascha Kühl ac514c3765 query collection resolver producer progress 2026-01-20 08:12:21 +01:00
Sascha Kühl 623a64b610 added collection, collection proxy and collection resolver implementations 2026-01-18 22:11:51 +01:00
Sascha Kühl 4c899ae2f2 added has_many for non object_ptr types 2026-01-16 15:54:21 +01:00
Sascha Kühl 1143710f8d added missing include of stringstream for windows 2026-01-16 13:07:49 +01:00
Sascha Kühl 7626331866 implemented lazy loading for object_ptr and belongs_to 2026-01-15 12:40:54 +01:00
Sascha Kühl ac53526a27 added SchemaTest, fixed bug in class shipment, added contains methods to class schema and enabled some tests 2026-01-09 09:32:47 +01:00
Sascha Kühl 930b9d1aa4 added timestamp code, support columns for group by and order by and tested load has-many eager code 2026-01-08 15:14:31 +01:00
Sascha Kühl 0bf945cd13 some improvements to dump schema 2026-01-07 09:32:57 +01:00
Sascha Kühl c6747074f5 renamed timestamp to timestamp_type_t 2026-01-07 09:23:47 +01:00
Sascha Kühl f30c250a20 renamed blob to blob_type_t 2026-01-07 09:21:10 +01:00
Sascha Kühl 41f6c9f516 adjust work project to the current codebase 2026-01-07 09:09:44 +01:00
Sascha Kühl dfd31cdf35 moved dump schema method to class schema 2026-01-07 09:09:17 +01:00
Sascha Kühl f46d9b21a2 bugfix: use valid node for relation endpoint registration 2026-01-07 09:07:39 +01:00
Sascha Kühl 456a410946 added type traits for timestamp 2026-01-07 09:07:05 +01:00
Sascha Kühl c48bd4f9d6 added test for date and time, sql read and write functionality 2026-01-06 22:23:50 +01:00
Sascha Kühl 0c6b5a0a93 added date_type_t, time_type_t and timestamp, ensure allocated postgres resources are released, split repository into basic_repository and repository. 2026-01-06 15:43:20 +01:00
Sascha Kühl a79d50e6e8 fixed PostgreSQL tests 2026-01-01 17:08:20 +01:00
Sascha Kühl 7cb64515bd added meta table macro and removed unused query_macro 2025-12-31 13:54:32 +01:00
Sascha Kühl e768497cfd fixed demo project 2025-12-31 13:06:17 +01:00
Sascha Kühl b9d35cbd4e renamed column to table_column and constraint to table_constraint. 2025-12-31 13:01:54 +01:00
Sascha Kühl ab2d39407c schema progress (does not compile) 2025-12-31 11:56:12 +01:00
Sascha Kühl d104222fdd observer progress, added to schema and added schema_observer class 2025-12-19 15:56:36 +01:00
Sascha Kühl 5e2d2ddde5 added observer to repository and updated tests 2025-12-18 16:13:36 +01:00
Sascha Kühl 6307850721 moved schema to query namespace 2025-12-17 15:15:04 +01:00
Sascha Kühl 9eec5b64fb fixed compilation 2025-12-16 16:21:09 +01:00
Sascha Kühl 4a19322ef8 use raw pointer of table in class column (progress, needs fixes in tests) 2025-12-15 17:31:43 +01:00
Sascha Kühl 9418f28348 constraint progress 2025-12-14 20:50:00 +01:00
Sascha Kühl 348f3a16d0 removed template type from foreign_node_completer::complete method 2025-12-13 10:56:25 +01:00
Sascha Kühl 9ba58eb05b constraint, column and table query progress 2025-12-12 15:49:30 +01:00
Sascha Kühl 758ea96ea4 reactivated relation_completer 2025-12-12 08:49:40 +01:00
Sascha Kühl 79c46bbd38 fixed object generation on nested objects 2025-12-11 15:41:45 +01:00
Sascha Kühl 571cfd52ae removed name member from restriction and changed attribute member to a reference 2025-12-11 09:26:35 +01:00
Sascha Kühl f842efb611 removed attribute_generator and constraints_generator 2025-12-11 09:13:14 +01:00
Sascha Kühl 5afb616205 object generation progress 2025-12-10 17:05:24 +01:00