140 Commits

Author SHA1 Message Date
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
538af38769 - Added a new EntityCollection factory 2020-06-29 11:36:41 -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
1839726dc0 - Fixed string's length based on annotation (if set) 2020-04-14 11:36:55 -04:00
Dave Mc Nicoll
2c7449b733 - Fixed a bug within table's name output of Insert and Update where old code was causing a crash. 2020-04-14 10:32:41 -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
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
1456fe91f2 - Fixed the SearchRequestInterface missing filter() function. 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.
2020-03-31 13:24:15 -04:00
Dave Mc Nicoll
f98cb2ded0 Merge branch 'master' of https://github.com/mcNdave/ulmus 2020-03-28 22:16:45 -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
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
4b29232543 - Bugfix within PdoObject and Repository
- Added some utilities methods to EntityCollection
2020-03-19 09:55:00 -04:00
Dave Mc Nicoll
d03f9ece36 - Removed debug lines 2020-02-17 08:25:09 -05: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
d01e99b18f Merge branch 'master' of https://github.com/mcNdave/ulmus 2020-02-10 15:20:47 -05:00
8a16ab8062 - Fixed Datetime output 2020-02-10 15:19:46 -05:00
Dave Mc Nicoll
bd027610f4 - Removed a debug line 2020-02-10 08:27:48 -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
bad5123447 - Work done on setting entities properties using array values 2020-02-03 11:13:26 -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
Dave Mc Nicoll
b589ba3c2b - WIP on Ulmus -- new use case showed up, modification were needed. 2019-12-10 15:27:45 -05:00
1b051f923e - Fixed composer require 2019-12-10 15:21:29 -05:00
fb9b9394e0 - Temp fix for composer Ulmus's version 2019-12-10 14:40:57 -05:00
aeb93974df Fixed composer.json comma error 2019-12-10 09:26:37 -05:00
b1ddb53170 Merge branch 'master' of https://github.com/mcNdave/ulmus 2019-12-10 09:25:29 -05:00
d6ddf3bbab - WIP on the EntityTrait
- Fixed composer entries
- Corrected QueryExplain keyword orders
2019-12-10 09:23:41 -05:00
Dave Mc Nicoll
3b124432d1 - Fixed package's name 2019-12-09 15:53:47 -05:00
dabfc24cba - Working on separation between Annotations and Ulmus 2019-10-04 08:40:14 -04:00
b73d046e0a - First draft of current WIP 2019-08-21 16:13:00 -04:00