Commit Graph

16 Commits

Author SHA1 Message Date
Dave M. 3905047111 - A lot of bugfixes, mainly with escaping (still working on it to get 100% coverage) 2021-03-15 13:42:52 +00:00
Dave M. 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
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
Dave M. efa957fe58 - Merged stash after pull 2020-10-16 15:27:54 +00: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
Dave Mc Nicoll 6e84fc7195 - Fixed a bug while retrieving a non-existing field (from a table which has a field not included within your entity) 2020-03-26 16:28:03 -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 M. 79fdabe786 - Worked on support for multiple adapters based on @Table() annotation's entity 2020-02-12 22:56:53 -05:00
Dave Mc Nicoll 828daffec8 - WIP on insert/update statement 2020-02-05 16:19:57 -05:00
Dave M. bad5123447 - Work done on setting entities properties using array values 2020-02-03 11:13:26 -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
Dave M. dabfc24cba - Working on separation between Annotations and Ulmus 2019-10-04 08:40:14 -04:00
Dave M. b73d046e0a - First draft of current WIP 2019-08-21 16:13:00 -04:00