19 Commits

Author SHA1 Message Date
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
b76f6ff9d4 - Work to add compatibility of PHP 8.0 2021-01-06 20:06:20 +00:00
7dd64abf29 - Added a LoadRelation for the repository.
- Added a new @Filter() annotation to the relation; adding it to JOIN is also coming.
- Some bugfixes done within the Where and ConditionTrait.
2021-01-06 19:35:45 +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
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
Dave Mc Nicoll
47953a6165 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2020-10-06 11:39:01 -04:00
Dave Mc Nicoll
07ba3f611b - Refractored Date/time fields
- Added an implode function on EntityCollection
2020-10-06 11:35:54 -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
8e521025d3 - Some bugfixes made in Relation
- Fixed search() methods in EntityCollection
- Work done on Relations of EntityTrait ; a lot of work still to be done. It must also move to another file.
2020-06-11 08:47:15 -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
4b29232543 - Bugfix within PdoObject and Repository
- Added some utilities methods to EntityCollection
2020-03-19 09:55:00 -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
Dave Mc Nicoll
828daffec8 - WIP on insert/update statement 2020-02-05 16:19:57 -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
Dave Mc Nicoll
b589ba3c2b - WIP on Ulmus -- new use case showed up, modification were needed. 2019-12-10 15:27:45 -05:00
b73d046e0a - First draft of current WIP 2019-08-21 16:13:00 -04:00