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
> While PostgreSQL array types are powerful, only the integer array is supported.
658
+
> It is the sole array type with additional PostgreSQL enhancements for manipulation and querying compared to JSON columns.
659
+
> The [intarray](https://www.postgresql.org/docs/current/intarray.html) extensions provides extensive features that can be used to e.g. [store and query tags](https://tapoueh.org/blog/2013/10/denormalizing-tags/) with advanced boolean logic.
660
+
661
+
#### Ranges
662
+
The range data types store a range of values with optional start and end values. They can be used e.g. to describe the duration a meeting room is booked.
> You need to enable the `ltree` extension with `Schema::createExtensionIfNotExists('ltree')` or `Schema::createExtension('ltree')` before.
723
755
724
-
#### Ranges
725
-
The range data types store a range of values with optional start and end values. They can be used e.g. to describe the duration a meeting room is booked.
756
+
#### Vector
757
+
The vector type can be used to store and search for embeddings created by AI providers like OpenAI.
> You need to enable the `vector` extension with `Schema::createExtensionIfNotExists('vector')` or `Schema::createExtension('vector')` before.
748
765
749
-
> **Note**
750
-
> While PostgreSQL array types are powerful, only the integer array is supported.
751
-
> It is the sole array type with additional PostgreSQL enhancements for manipulation and querying compared to JSON columns.
752
-
> The [intarray](https://www.postgresql.org/docs/current/intarray.html) extensions provides extensive features that can be used to e.g. [store and query tags](https://tapoueh.org/blog/2013/10/denormalizing-tags/) with advanced boolean logic.
766
+
> **Note**
767
+
> The `vector` extension is not a standard PostgreSQL extension but available with most PostgreSQL cloud services.
768
+
> You can check for support with the following query: `SELECT * FROM pg_available_extensions WHERE name = 'vector'`
753
769
754
770
#### XML
755
771
The xml data type can be used to store an xml document.
0 commit comments