Commit Graph
100 Commits
Author SHA1 Message Date
Dave Mc Nicoll 5d32d9f635 - Fixed MsSQL entity and searchRequest which caused buggy searchs 2026-06-19 19:44:41 +00:00
Dave Mc Nicoll 1e4a528d39 - Merged 2026-06-15 19:58:46 +00:00
Dave Mc Nicoll 2a03789e7c - Defined nullable adapter 2026-06-01 15:11:07 +00:00
Dave Mc Nicoll 1af0063203 - WIP on php8.5 migration 2026-05-22 20:36:35 +00:00
Dave Mc Nicoll 7b35de3258 - Work done on search request mostly 2026-05-21 15:19:35 +00:00
Dave Mc Nicoll f938e18572 - Added a 'select' attribute, WIP on ArrayCollection and ArrayOf also 2026-04-24 19:26:02 +00:00
Dave Mc Nicoll b394b9348f - Specified a bit more how debug arguments are printed 2026-04-23 18:11:31 +00:00
Dave Mc Nicoll fd5d31fa17 - Merged getValue override 2026-02-25 20:09:28 +00:00
Dave Mc Nicoll cb125545c7 - WIP on search request handling of operators 2025-11-11 18:22:44 +00:00
Dave Mc Nicoll 2271b0b034 - Added a Trim PropertyValueModifier 2025-10-15 15:03:09 +00:00
Dave Mc Nicoll 2e45eba520 - Added some more debug info, fixed missing interface on Entity 2025-09-17 20:30:22 +00:00
Dave Mc Nicoll 2f482324b2 - Added callable field in search, searchOne, remove, removeOne, etc... 2025-06-26 14:34:12 +00:00
Dave Mc Nicoll a5d65025f8 - Fixed a bug within mssql migration 2025-06-20 13:11:56 +00:00
Dave Mc Nicoll fb644b0b0a - Added withJoin from attributes in RelationBuilder (can't understand why it wasn't already..) 2025-06-03 20:27:15 +00:00
Dave Mc Nicoll c719e4a6d1 - WIp on Migration for mssql 2025-05-26 18:21:37 +00:00
Dave Mc Nicoll fb4985160a - WIP on Migration of MsSQL 2025-05-21 18:46:34 +00:00
Dave Mc Nicoll c54de30069 - Fixed evalClosure() missing type which converted EntityField into string 2025-05-16 12:59:31 +00:00
Dave Mc Nicoll 8fff21ecb0 - Fixed RelationBuilder problem whenever a field wasn't set 2025-05-15 18:09:52 +00:00
Dave Mc Nicoll cc6048d4ee - WIP on migration and some bug fixes linked to withJoin() select problems 2025-05-15 18:05:23 +00:00
Dave Mc Nicoll 761e0401b0 - Fixed SQLite truncate, added AdapterProxy autoloading 2025-05-12 15:11:00 +00:00
Dave Mc Nicoll 1ec582d1ac - Comparison made before transforming to string was skipping nulls and not nulls but empty 2025-04-03 19:38:48 +00:00
Dave Mc Nicoll 9556dea849 - Fixed a bug where withJoin() would mess with previous select() done on querybuilding
- Fixed a problem related with distinct in select whenever another select on fields was done
2025-03-20 17:31:19 +00:00
Dave Mc Nicoll bfddf84564 - Added partial support for Index as primary keys 2025-03-11 19:36:00 +00:00
Dave Mc Nicoll e0ec140661 - Sqlite now handles concurrency with transactions 2025-02-25 14:09:41 +00:00
Dave Mc Nicoll 0fd6889c6f - ID attribute is now readonly by default (since autoincremented) 2025-02-03 19:56:35 +00:00
Dave Mc Nicoll 7c589ab7b4 - Fixed forgotten return value form listColumns in SQLite driver 2024-12-09 20:42:37 +00:00
Dave Mc Nicoll 589524ca3a - Added limitation on fixedValue in Where attribute 2024-12-09 16:40:50 +00:00
Dave Mc Nicoll 1fac12c928 - Added relation's shortcut attributes 2024-12-02 21:36:03 +00:00
Dave Mc Nicoll 9eed2fe1a8 - Added caching mechanism as an event listener 2024-12-02 15:22:30 -05:00
Dave Mc Nicoll 70c6cde603 - Latest commit into this branch, merging after 2024-11-13 14:02:03 -05:00
Dave Mc Nicoll 079a3fd110 Merge branch 'notes-2.x' of https://git.mcnd.ca/mcndave/ulmus into notes-2.x 2024-11-11 20:42:51 +00:00
Dave Mc Nicoll ec4d02b9d9 - Removed 'description' property and moved it into an appropriate attribute from lean-api package 2024-11-11 20:42:29 +00:00
Dave Mc Nicoll 35ceb97241 - Added Exists method 2024-11-10 13:08:05 +00:00
Dave Mc Nicoll 83f673b37f - Mostly bug fixes done on this code push 2024-11-01 16:14:14 -04:00
Dave Mc Nicoll 411992c7a8 - Added a new Field Mapper to SQLs Adapters.
- Defined missing MySQL fields attributes
- WIP on lean-console's migration methods
2024-10-21 18:12:24 +00:00
Dave Mc Nicoll 5f4f23a8e4 - Allowed a JOINed entity to be null if nothing is loaded from a query and it's field is nullable 2024-10-14 16:32:23 +00:00
Dave Mc Nicoll 2fda7e82d7 Merge branch 'notes-2.x' of https://git.mcnd.ca/mcndave/ulmus into notes-2.x 2024-10-14 16:07:28 +00:00
Dave Mc Nicoll 573d4cc06b - RelationBuilder now returns NULL if no entity were found AND given field is nullable 2024-10-14 16:07:12 +00:00
Dave Mc Nicoll 18313fd7f5 - Forgot to set escapeIdentifier as static 2024-10-14 14:43:03 +00:00
Dave Mc Nicoll 9503b24467 - Fixed some bugs within SearchRequestFromRequestTrait 2024-10-14 14:41:35 +00:00
Dave Mc Nicoll 3c2ae86653 - Field mapper is now removed from Adapters and set into it's own object
- Added a PK to Column (IS)
2024-10-14 12:53:15 +00:00
Dave Mc Nicoll 9977a25cf5 - Forgot a dump() 2024-10-07 19:39:52 +00:00
Dave Mc Nicoll 3ba8a2a5d0 - Fixed 'value' for SearchRequestOrderBy and also fixed a typo where SearchManual would not be set 2024-10-07 19:38:29 +00:00
Dave Mc Nicoll 4106c8db91 Merge branch 'notes-2.x' of https://git.mcnd.ca/mcndave/ulmus into notes-2.x 2024-10-07 19:37:10 +00:00
Dave Mc Nicoll d5cca085bc - Removed offset if limit = 0 2024-10-07 19:36:53 +00:00
Dave Mc Nicoll 8b1c11676d - Added OrderBy (heavy WIP, will be recoded 2024-08-30 18:59:48 +00:00
Dave Mc Nicoll d4181065cf Merge branch 'notes-2.x' of https://git.mcnd.ca/mcndave/ulmus into notes-2.x 2024-06-28 11:46:46 +00:00
Dave Mc Nicoll 62998faf40 - WIP on SearchRequest enums and manual searchs 2024-06-28 11:46:09 +00:00
Dave Mc Nicoll 0c8591f238 - Added multiple parameters on SearchParameter 2024-06-05 17:47:31 +00:00
Dave Mc Nicoll bbfd7c02b4 - WIP on SearchAttributes supporting Request's attributes 2024-06-04 13:33:48 +00:00
Dave Mc Nicoll bd9078230d - Multiple bug fixes related to notes 2.x 2024-05-31 12:26:39 +00:00
Dave Mc Nicoll 2de3139c80 - Added description to most attributes 2024-05-27 18:09:22 +00:00
Dave Mc Nicoll e37eeb85f1 Merge branch 'master' into notes-2.x 2024-05-21 14:01:50 +00:00
Dave Mc Nicoll 7de0ecb028 - Fixed SearchLike attribute 2024-05-21 13:00:19 +00:00
Dave Mc Nicoll 1dd9da6eb6 - Fixes done for QueryBuilderInterface 2024-04-24 11:23:10 -04:00
Dave Mc Nicoll 9fdebf454d - Started working on decoupling QueryBuilder from SqlQueryBuilder
- WIP on SearchRequest attributes
- Began working on removing 'Ulmus' class
- WIP on removing SQL query building from Repository (which will become SqlRepository)
2024-04-17 15:54:48 -04:00
Dave Mc Nicoll 4571517dc8 - Added some SearchRequest attributes ; now it's even simpler to add searchable fields
- Began decoupling of QueryBuilder from native MySQL method ; some works needs to be done on for the Repository object splitting also.
2024-04-09 19:14:27 -04:00
Dave Mc Nicoll d4d68a029d - Fixed a problem of invalid comparison types in empty IN() query fragment 2023-11-24 11:31:54 -05:00
Dave Mc Nicoll ea667db552 - Testing another boolean handling method 2023-11-20 15:24:23 -05:00
Dave Mc Nicoll afe5144dc7 - Added a new value binding methods 2023-11-20 15:21:17 -05:00
Dave Mc Nicoll 7f8780d328 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2023-11-17 16:00:59 -05:00
Dave Mc Nicoll 9a9f473f3f - PDO Params are now properly (mostly..) binded, bool, null and int are now handled correctly 2023-11-17 16:00:29 -05:00
Dave Mc Nicoll c1755d250b Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2023-11-08 09:27:26 -05:00
Dave Mc Nicoll acab934f6f - Some bugfixes applied live 2023-11-08 09:27:03 -05:00
Dave Mc Nicoll c2cccc0222 - Fixed a proble within EntityInterface with field(s) which needed a false instead of bool 2023-11-07 11:12:59 -05:00
Dave Mc Nicoll ab582c9318 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2023-11-07 11:02:06 -05:00
Dave Mc Nicoll a4b81f1932 - Added support for closure in Virtual field 2023-11-07 11:01:55 -05:00
Dave Mc Nicoll 756474d460 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2023-11-01 11:26:10 -04:00
Dave Mc Nicoll d297fd9e86 - Fixed a bug which caused a problem using offset without limits 2023-11-01 11:25:59 -04:00
Dave Mc Nicoll 8e0dce3e71 - Still WIP on Api's wrapper 2023-10-27 18:33:48 -04:00
Dave Mc Nicoll cc741566fb - Bugfixes made while working on lean/console database migrations 2023-08-31 09:15:50 -04:00
Dave Mc Nicoll 8489cb4841 - Added some options to withJoin() method of repository 2023-08-29 16:32:25 -04:00
Dave Mc Nicoll a4743b471c - saveAll() now also supports arrays 2023-05-12 18:56:59 +00:00
Dave Mc Nicoll bd61522a07 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2023-04-13 15:39:21 -04:00
Dave Mc Nicoll f3712c9cc7 - Changed returned object from PdoObject runQuery method correcting 'Creation of dynamic property PDOStatement:: is deprecated' 2023-04-13 15:39:16 -04:00
Dave Mc Nicoll 3c5aa51850 - WIP on PHP 8.2 conversion 2023-03-29 11:30:46 -04:00
Dave Mc Nicoll c6bfaa05f2 - Added support for field value in Where attribute 2023-02-23 12:15:31 -05:00
Dave Mc Nicoll c9c6a11ebd - Fixed a bug caused by the addition of Attributes (on Ignore tags) and ajusted the EntityTrait with it 2023-02-08 16:37:48 +00:00
Dave Mc Nicoll dcccce7893 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2023-02-03 14:06:13 +00:00
Dave Mc Nicoll 31f031715d - Fixed a bug within notIn() statement 2023-02-03 14:06:00 +00:00
Dave Mc Nicoll 88e9f048db - Select now only query existing entity's fields on select() and withJoin() statements. 2023-01-27 15:46:16 +00:00
Dave Mc Nicoll 70021d829d - WIP on attributes 2023-01-26 18:47:53 +00:00
Dave Mc Nicoll 26febb631d Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2023-01-14 02:25:10 +00:00
Dave Mc Nicoll 5ef20533b2 - Fixed a bug with the IN query 2023-01-14 02:22:14 +00:00
Dave Mc Nicoll 902167c2ed - Fixed the JOIN comparison (instead of putting it in the main query) 2022-11-24 19:22:49 +00:00
Dave Mc Nicoll b20e537038 - Added a new @PrimaryKey annotation to replace the too-specific property-wise @Id 2022-11-11 13:57:29 +00:00
Dave Mc Nicoll 0e8443b1c1 Prepping everything for a PHP 8 release 2022-10-10 14:26:27 +00:00
Dave Mc Nicoll 430cd03bc4 - Fixed an important bug when an alias was not given 2022-06-29 19:31:27 +00:00
Dave Mc Nicoll 8507283d27 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2022-06-28 12:45:25 +00:00
Dave Mc Nicoll fc9b536eee - Quick MSSQL fix 2022-06-28 12:37:02 +00:00
Dave Mc Nicoll 84682d1c8e Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2022-06-21 15:32:31 +00:00
Dave Mc Nicoll 52f240ef15 -Resetting encrypt if value is false 2022-06-21 15:31:49 +00:00
Dave Mc Nicoll 325704260b - Fixed conflicts 2022-04-13 03:38:57 +00:00
Dave Mc Nicoll 16d76470da - A lot of bugfixes and fitting to accomodate ldap adapter 2022-04-13 03:31:48 +00:00
Dave Mc Nicoll f14347f01d Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2021-11-24 16:36:13 +00:00
Dave Mc Nicoll 2210853093 - Added a missing return from newly created items in save() ; also added a count in saveAll() method allowing to know how many items were saved 2021-11-24 16:22:28 +00:00
Dave Mc Nicoll dc5e088551 - Some bugfixes were made, added a new diff before saving results. Also, a new method was added for insert, update and delete respectively for other drivers to override as needed 2021-10-19 12:41:04 +00:00
Dave Mc Nicoll 58afe841e7 - Fixed a double negative 2021-08-27 18:04:36 +00:00
Dave Mc Nicoll 7fb591e1f5 - A lot of fixes made again in this patch 2021-05-24 20:03:38 +00:00
Dave Mc Nicoll 9e84bd3536 - Set ID as a bigint by default now.
- EntityCollection now transforms array received from append() into entity and then append them.
- Corrected a big bug within QueryBuilder which was missed when it was made compatible with MSSQL.
2020-12-04 13:21:59 -05:00