Commit Graph

95 Commits

Author SHA1 Message Date
Daniele Teti
dfbcadb8fa + First merge with "GUID support for Primary Keys" 2022-06-16 14:05:01 +02:00
Marcelo Jaloto
dd4f7f0afd New improvements for use with fields of primary key of kind Guid; 2022-05-13 12:23:00 -03:00
Marcelo Jaloto
80dc7f141a Fixes bug when a Active Record field primary key is a Guid. See more issue 552; 2022-05-13 12:15:32 -03:00
Daniele Teti
07bd70c5ed + Improved TMVCActiveRecord Interbase support 2022-01-26 23:00:32 +01:00
Daniele Teti
a8ce1bb25b + Updated copyright for 2022 2022-01-04 15:44:47 +01:00
Daniele Teti
17cc5d5eea + Compatibility fix for Delphi 10.2 Tokyo 2021-11-23 18:03:48 +01:00
Daniele Teti
02de5b11ea - Added default filtering for TMVCActiveRecord descendants (more info ASAP)
- Added partitioning for `TMVCActiveRecord descendants` (more info ASAP)

- After a big refactoring (*"I love to delete code" -- cit. Daniele Teti*), support a new SQLGenerator is just 2 (two) methods away!
2021-11-21 19:27:06 +01:00
Daniele Teti
3360dea516 + completed tests for default filtering and partitioning (just for PostgreSQL) (WIP for other RDBMSes) 2021-11-19 00:34:37 +01:00
Daniele Teti
c231e6540e + added test for default filtering 2021-11-18 17:52:06 +01:00
Daniele Teti
5550819fca + Fixed a bug in RQL' MaxRecordCount
+ Implemented Table Partitioning (WIP)
2021-11-18 00:49:12 +01:00
Daniele Teti
49518a311b + table filtering (WIP) 2021-11-17 15:36:20 +01:00
Daniele Teti
07e16c1e1f - added AddDefaultConnection overload
- added helper methods to IMVCRESTResponse
2021-10-20 11:29:49 +02:00
Daniele Teti
e3eb26e04a + added more unit test for TMVCActiveRecord.Merge method 2021-09-23 22:52:28 +02:00
Daniele Teti
9e07af91dc + Added new default parameter to TMVCActiveRecord.RemoveDefaultConnection and TMVCActiveRecord.RemoveConnection to avoid exceptions in case of not initialized connection. 2021-08-13 18:05:48 +02:00
João Antônio Duarte
1914c4c8e4 [+] Fix https://github.com/danieleteti/delphimvcframework/issues/501 2021-08-02 09:53:11 -03:00
João Antônio Duarte
9fc7a0111e [+] Fix for compatibility with delphi Berlin. 2021-07-16 18:55:33 -03:00
Daniele Teti
ac2a03a804 [+] added RaiseIfNotFound parameter in TMVCActiveRecord.Update and TMVCActiveRecord.Delete 2021-06-27 15:14:37 +02:00
Daniele Teti
662d86e57a completed merge - working on the master_details sample 2021-05-03 19:29:01 +02:00
Daniele Teti
962bd6fbf3 Almost completed merge method for tmvcactiverecord 2021-04-29 22:52:28 +02:00
Daniele Teti
d9ebea3d0f [+] Almost complete work on MultiExecutor - we need an elegant and efficient way to handle primary keys of multiple types 2021-04-27 22:57:15 +02:00
Daniele Teti
13a6d1a6af [+] Introduced TMVCUnitOfWork - still doesn't work 2021-04-26 23:01:31 +02:00
Daniele Teti
57f9992bb4 First version of 'merge' method - used to create a UOW in case of updating a list of active records 2021-04-25 22:40:06 +02:00
Daniele Teti
7a9aa77ed2 [+] Improved MVCAREntitiesGenerator 2021-04-08 00:33:27 +02:00
Daniele Teti
a478508850 [+] Added ability to show the entities managed by the TMVCActiveRecordController directly in the /system/describeserver.info 2021-04-07 23:58:02 +02:00
Daniele Teti
5516b49345 no message 2021-04-05 19:35:46 +02:00
Daniele Teti
118e26f89d [+] Fixed some compilation problems with Delphi 10.1 Berlin 2021-01-05 17:01:32 +01:00
Daniele Teti
d9b20d8ce4 Fix border case when using string and widestring params in TMVCActiveRecord 2020-12-18 14:41:01 +01:00
Daniele Teti
afabd2fde6 Better internal unit test irganization for TMVCActiveRecord 2020-12-11 18:53:37 +01:00
Daniele Teti
e5310e626f https://github.com/danieleteti/delphimvcframework/issues/435 2020-10-19 19:41:16 +02:00
Daniele Teti
e0a1a0e950 Added "RaiseExceptionIfNotAvailable" params in TMVCActiverecordConnectionRegistry.GetCurrent 2020-10-17 23:19:05 +02:00
Daniele Teti
057519d550 https://github.com/danieleteti/delphimvcframework/issues/424 2020-09-30 11:16:10 +02:00
Daniele Teti
e9052d9950 Added overload on ExecuteRequest and ExecuteNotification for JSONRPCExecutor - added ClientIP in trace middleware added more checks in activerecord for forgotten attributes 2020-09-25 00:32:55 +02:00
Daniele Teti
761e778aa7 Fixed some package problems for Rio and Sydney 2020-08-30 08:52:21 +02:00
Daniele Teti
a258bae533 Added dynamic properties accessors to TMVCActiveRecord descendants. 2020-08-28 18:04:29 +02:00
Daniele Teti
7576ab8bf8 Added the ability to deserialize an object starting from an arbitrary node in the JSON (or other format) present in the request body.
Improved the primary key type handling for manual handling in MVCActiveRecord.
Improved activerecord_showcase sample.
2020-08-13 17:40:02 +02:00
Daniele Teti
a690bea612 Added foReadonly and foWriteOnly os MVCActiveRecord Field Options 2020-08-11 00:54:42 +02:00
Daniele Teti
0d7fa465fc TableName is no more serialized in ActiveRecord 2020-07-18 20:14:58 +02:00
Daniele Teti
fb87e9e1f4 https://github.com/danieleteti/delphimvcframework/issues/401 2020-07-02 23:19:36 +02:00
Daniele Teti
aaa34ca410 Added "TMVCActiveRecord.SelectOneByRQL", Removed "Context.Request.HeaderNames" 2020-06-22 15:24:20 +02:00
Daniele Teti
aae0105698 Added support for Count(RQL) for all SQLGenerators and all supported RDBMSes 2020-06-19 19:31:34 +02:00
Daniele Teti
92fbdf0043 Added RQL->SQL without order by and limit 2020-06-19 17:48:47 +02:00
Daniele Teti
2787250adb Added Children objects management in TMVCActiveRecord 2020-05-04 09:42:16 +02:00
Daniele Teti
3c2c7e600e Better exception messages for deserialization errors 2020-04-09 17:01:33 +02:00
Daniele Teti
e56fb272a9 https://github.com/danieleteti/delphimvcframework/issues/348
Just for PostgreSQL
2020-04-08 18:04:45 +02:00
Daniele Teti
f99590f50f https://github.com/danieleteti/delphimvcframework/issues/350 2020-04-02 19:26:04 +02:00
Daniele Teti
d577221a71 Now ActiveRecord PrimaryKey can be string, nullablestring, integer, nullableinteger, int64, nullableint64 2020-03-31 16:23:22 +02:00
Daniele Teti
1fd7740048 Added JSONRPC Hooks - Renamed RenderXXX Methods 2020-03-30 13:30:45 +02:00
Daniele Teti
99664f141b Refactoring of some internals structures of TMVCActiveRecord 2020-03-25 11:35:25 +01:00
Daniele Teti
f4e27a2179 Added JSONRPC HOOKS 2020-03-24 17:55:25 +01:00
Daniele Teti
71b6108149 Improved deserialization in cases of derived properties 2020-03-23 18:51:57 +01:00