13 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
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
3ff97f3bf0 - Added identifier escaping to match differents PDO drivers 2020-04-09 13:20:07 -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
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
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