50 Commits

Author SHA1 Message Date
Dave Mc Nicoll
9eed2fe1a8 - Added caching mechanism as an event listener 2024-12-02 15:22:30 -05: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
acab934f6f - Some bugfixes applied live 2023-11-08 09:27:03 -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
fed7d2e302 - Some minors adjustments to match PHP 8.x coding styles 2023-11-01 09:55:19 -04:00
Dave Mc Nicoll
8e0dce3e71 - Still WIP on Api's wrapper 2023-10-27 18:33:48 -04:00
eb6434bb72 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2023-03-30 15:24:58 +00:00
2ad52aba85 - WIP on Alter table for lean-console 2023-03-30 15:24:48 +00:00
Dave Mc Nicoll
3c5aa51850 - WIP on PHP 8.2 conversion 2023-03-29 11:30:46 -04:00
Dave Mc Nicoll
70021d829d - WIP on attributes 2023-01-26 18:47:53 +00:00
b6752f4364 WIP on docs and added basic enums supports 2023-01-14 02:19:42 +00:00
00ebf3381f - Completed merge 2022-07-15 19:59:38 +00:00
e1990e7cc0 - Merge with Mssql repository bugfix 2022-06-21 15:38:06 +00:00
Dave Mc Nicoll
e14a3670fc -Fixed join order in queries 2022-05-10 13:19:48 +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
c14644cdda - A lot of work done on bug fixing. Added a new SQLite adapter 2022-01-28 16:37:35 +00:00
Dave Mc Nicoll
0453e9cbc5 - Added the replace keyword 2021-08-02 15:13:17 +00:00
Dave Mc Nicoll
7fb591e1f5 - A lot of fixes made again in this patch 2021-05-24 20:03:38 +00:00
3905047111 - A lot of bugfixes, mainly with escaping (still working on it to get 100% coverage) 2021-03-15 13:42:52 +00:00
e3d0e45a4e - Some work done on correcting LDAP package compatibility 2021-03-09 15:25:46 +00:00
16c6eb57fb - Added a MssqlRepository
- Adapter some code to allow more flexibility for the new LDAP adapter from ulmus-ldap.
- Insert's fields are now escaped by default.
- A new RelationBuilder was added, a lot of code from the EntityTrait was moved into this. Some code from the Repository class will need to be moved there too.
2021-03-01 16:26:06 +00:00
8f9332fbad Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2021-01-26 16:59:29 +00:00
e465ecdf32 - Work done on Join and using the @Relation annotation in case there is no join.
- Added some field type (date, Datetime, Time)
- Added a new @Filter annotation which allows to filter repository from relation into a method.
2021-01-26 16:48:40 +00:00
65de1dd849 - Fixed some mssql caused bugs within Insert and Create into querybuilding
- Added some methods to EntityCollection
2020-12-07 17:26:51 +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
Dave Mc Nicoll
f74d1907d9 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2020-11-27 12:21:10 -05:00
Dave Mc Nicoll
30a0a80cbe - Added some new method to EntityCollection (replaceWith, mergeWith, randomize, sort)
- WIP on virtual fields
- Some minor bugfixes
2020-11-27 12:09:15 -05:00
efa957fe58 - Merged stash after pull 2020-10-16 15:27:54 +00:00
Dave Mc Nicoll
27d5fd0b08 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2020-10-06 11:46:00 -04:00
Dave Mc Nicoll
5d00a7e394 - Fixed GroupBy 2020-10-06 11:43:31 -04:00
Dave Mc Nicoll
139504f8dd - Added the HAVING and TRUNCATE keyword
- Fixed GroupBy which was not implemented yet
- Added a new SQL raw() function
- From statement now accepts subqueries
2020-10-06 11:00:12 -04:00
Dave Mc Nicoll
4d221859fc - Added Events to repository and entitytrait objects. Some more work to be done on this.
- Diverses bug fixes linked to join and relations
- Field date and datetime are now outputed using given locale.
2020-05-20 15:34:50 -04:00
Dave Mc Nicoll
026a0f4f83 - Fixed the QueryBuilder's escaping problem - adapters are now responsible for escaping identifiers.
- Added a MsSQL offset query fragment. There is still a problem with the way the Repository must act within another adapter.
2020-04-14 09:47:09 -04:00
Dave Mc Nicoll
def8decb4e Merge remote-tracking branch 'origin' into dev-sql-escape 2020-04-09 10:00:48 -04:00
Dave Mc Nicoll
c64c7778bd - Work done on many-to-many relations - code must still be refactored out of the EntityTrait.
- Fixed Entity::field("propertyname") function to look for name into @Field() annotation and returns it if it exists.
- A lot of bug fixes made into SQL fragments.
2020-04-09 09:50:09 -04:00
84da4dbb7b - Bugfixes done linked to SearchRequest and Searchable features.
- Fixed a bug introduced into PdoObject exception on latest commit.
- Corrected the open() close() enclosure of query condition.
2020-03-31 13:24:15 -04:00
Dave Mc Nicoll
938639a590 - Multiple bugfixe linked to query fragments
- Added a new SearchRequest package to handle search request efficiently
2020-03-28 22:13:29 -04:00
Dave Mc Nicoll
d1961ec807 - Work done on insert() and update() function from QueryBuilder.
- Fixed save() and saveAll() from repository
- QueryBuilder can now be flushed after queries.
2020-02-17 08:23:41 -05:00
79fdabe786 - Worked on support for multiple adapters based on @Table() annotation's entity 2020-02-12 22:56:53 -05:00
Dave Mc Nicoll
2f43fb4559 - More work done on Update, Insert and Delete clause
- Added TOP property to select and delete to fit MSSQL limit's term.
- Added a new interface allowing object's manipulation on save() and load() queries
2020-02-07 16:36:38 -05:00
3dc82b1f0d - Still working on Update and Insert statements 2020-02-05 23:41:57 -05:00
Dave Mc Nicoll
828daffec8 - WIP on insert/update statement 2020-02-05 16:19:57 -05:00
8e91c3a418 - Bugfixes done on MySQL adapter caused by some changes while adding Mssql.
- WIP on Repository and QueryBuilder
2020-01-31 22:01:56 -05:00
Dave Mc Nicoll
d12623cc5e - WIP on entity save 2020-01-31 16:38:48 -05:00
Dave Mc Nicoll
5bd60129ea - Added a new MsSQL adapter
- Some bugfixes were made within annotations.
- Added a new Object Instanciator which allows to manipulate and define how an object from an entity must be instanciated with given value.
2020-01-29 16:11:16 -05:00
Dave Mc Nicoll
9df7e65dcf - Work done on Repository and QueryBuilder -- fixed some minor bugs and added some delete() functions
- Added a generic SQL query function to PDOObject
2019-12-19 09:54:33 -05:00
b73d046e0a - First draft of current WIP 2019-08-21 16:13:00 -04:00