f3712c9cc7- Changed returned object from PdoObject runQuery method correcting 'Creation of dynamic property PDOStatement:: is deprecated'
Dave Mc Nicoll
2023-04-13 15:39:16 -04:00
36cddf8f78- Upgraded doc intro to match new attribute uses.Dave Mc Nicoll2023-02-23 17:16:22 +00:00
c6bfaa05f2- Added support for field value in Where attribute
Dave Mc Nicoll
2023-02-23 12:15:31 -05:00
c9c6a11ebd- Fixed a bug caused by the addition of Attributes (on Ignore tags) and ajusted the EntityTrait with it
Dave Mc Nicoll
2023-02-08 16:37:48 +00:00
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
Dave Mc Nicoll
2021-11-24 16:22:28 +00:00
9ad2e94d12- Work done on Ulmus which were added within the Bottin de suppléance appDave Mc Nicoll2021-10-21 19:02:21 +00:00
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
Dave Mc Nicoll
2021-10-19 12:41:04 +00:00
58afe841e7- Fixed a double negative
Dave Mc Nicoll
2021-08-27 18:04:36 +00:00
0453e9cbc5- Added the replace keyword
Dave Mc Nicoll
2021-08-02 15:13:17 +00:00
7fb591e1f5- A lot of fixes made again in this patch
Dave Mc Nicoll
2021-05-24 20:03:38 +00:00
4df9ececba- Fixed a bug occuring when a field was already escapedDave M2021-04-23 03:03:01 +00:00
1469d167c4- Added a closure on key to EntityCollection buildArray method. - Some bugfixes done.Dave Mc Nicoll2021-03-29 20:01:31 +00:00
317d62ceaa- Some more work done to allow more flexibility for other pluginsDave Mc Nicoll2021-03-24 13:48:09 +00:00
3905047111- A lot of bugfixes, mainly with escaping (still working on it to get 100% coverage)Dave M2021-03-15 13:42:52 +00:00
e3d0e45a4e- Some work done on correcting LDAP package compatibilityDave Mc Nicoll2021-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.Dave Mc Nicoll2021-03-01 16:26:06 +00:00
e7d5d5965b- Fixed the missing DISTINCT keyword while rendering select() - Added a fragment remover in RepositoryDave Mc Nicoll2021-03-01 16:10:15 +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.Dave M2021-01-26 16:48:40 +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.
php80
Dave Mc Nicoll2021-01-06 19:35:45 +00:00
65de1dd849- Fixed some mssql caused bugs within Insert and Create into querybuilding - Added some methods to EntityCollectionDave M2020-12-07 17:26:51 +00:00
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.
Dave Mc Nicoll
2020-12-04 13:21:59 -05:00
30a0a80cbe- Added some new method to EntityCollection (replaceWith, mergeWith, randomize, sort) - WIP on virtual fields - Some minor bugfixes
Dave Mc Nicoll
2020-11-27 12:09:15 -05:00
bcbf65e0b3- Fixed in the query builder (still a big WIP)Dave M2020-10-20 19:40:44 +00:00
efa957fe58- Merged stash after pullDave M2020-10-16 15:27:54 +00:00
114fa5be09- Had to fix a changed behaviour from PHP 7.4 and 7.4.x where __isset() and __get is not called on initialized properties anymore.Dave M2020-10-16 15:04:05 +00:00
5be0c8cc01- Array type can now be assign directly (not as json or serialized)\n- Fixed a bug within WHERE when open() and close() where called without a conditionDave M2020-10-06 17:46:34 +00:00
07ba3f611b- Refractored Date/time fields - Added an implode function on EntityCollection
Dave Mc Nicoll
2020-10-06 11:35:54 -04:00
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
Dave Mc Nicoll
2020-10-06 11:00:12 -04:00
538af38769- Added a new EntityCollection factory
Dave Mc Nicoll
2020-06-29 11:36:41 -04:00
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.
Dave Mc Nicoll
2020-06-11 08:47:15 -04:00
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.
Dave Mc Nicoll
2020-05-20 15:34:50 -04:00
1839726dc0- Fixed string's length based on annotation (if set)
Dave Mc Nicoll
2020-04-14 11:36:55 -04:00
2c7449b733- Fixed a bug within table's name output of Insert and Update where old code was causing a crash.
Dave Mc Nicoll
2020-04-14 10:32:41 -04:00
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.
Dave Mc Nicoll
2020-04-14 09:47:09 -04:00
3ff97f3bf0- Added identifier escaping to match differents PDO drivers
Dave Mc Nicoll
2020-04-09 13:20:07 -04:00
def8decb4eMerge remote-tracking branch 'origin' into dev-sql-escape
Dave Mc Nicoll
2020-04-09 10:00:48 -04:00
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.
Dave Mc Nicoll
2020-04-09 09:50:09 -04:00
1456fe91f2- Fixed the SearchRequestInterface missing filter() function.
Dave Mc Nicoll
2020-04-09 09:46:22 -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.Dave Mc Nicoll2020-03-31 13:24:15 -04:00