You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,25 +8,27 @@ PostgreSQL Doctrine
8
8
Description
9
9
------------
10
10
11
-
Provides extended Doctrine DBAL and Doctrine migration classes to allow you to use PostgreSQL
12
-
specific features such as [enums](https://www.postgresql.org/docs/current/datatype-enum.html) or JSON(B) with Doctrine.
11
+
Provides extended Doctrine and Doctrine migrations PostgreSQL support with
12
+
specific features such as [enums](https://www.postgresql.org/docs/current/datatype-enum.html), arrays and aggregate and JSON(B) functions.
13
13
14
14
Features
15
15
--------
16
-
* PostgreSQL enums support in DBAL and migrations
16
+
* PostgreSQL enums support in DBAL, ORM and migrations
17
17
* PHP8 enum support
18
18
* Fix creating [default schema in down migrations for pgsql](https://github.com/doctrine/dbal/issues/1110)
19
19
*[JSON(B) functions](https://www.postgresql.org/docs/current/functions-json.html) (in progress)
20
20
* JSON(B) types based on object models (in progress, requires symfony/serializer)
21
21
*[Trait](src/ORM/Trait/ExistsMethodRepositoryTrait.php) for easy use of [SELECT EXISTS(...)](https://www.postgresql.org/docs/current/functions-subquery.html#FUNCTIONS-SUBQUERY-EXISTS) in your entity repositories
22
+
* Aggregate functions with filter condition support
23
+
* Array types
22
24
23
25
Requirement
24
26
-----------
25
27
* PHP ^8.1
26
28
* doctrine/dbal ^3.5.1
27
29
* doctrine/migrations ^3.5.2
28
30
* symfony/serializer >=5.4.* (optional for json models)
29
-
* symfony/property-info >=5.4.* (optional)
31
+
* symfony/property-info >=5.4.* (optional for json models)
30
32
31
33
Installation
32
34
------------
@@ -46,14 +48,16 @@ for instructions on how to override the default doctrine classes in your project
46
48
Required steps:
47
49
1. Register [PostgreSQLDriverMiddleware.php](src/DBAL/Middleware/PostgreSQLDriverMiddleware.php) as driver middleware
48
50
2. Register [OrmSchemaProvider.php](src/Migrations/Provider/OrmSchemaProvider.php) as Doctrine\Migrations\Provider\SchemaProvider in Doctrine\Migrations\DependencyFactory
51
+
3. Register types and functions on your needs
49
52
50
53
For Symfony integration see [PostgreSQLDoctrineBundle](https://github.com/pfilsx/PostgreSQLDoctrineBundle)
0 commit comments