Download the PHP package emiliopedrollo/laravel-postgres-extended-schema without Composer
On this page you can find all versions of the php package emiliopedrollo/laravel-postgres-extended-schema. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download emiliopedrollo/laravel-postgres-extended-schema
More information about emiliopedrollo/laravel-postgres-extended-schema
Files in emiliopedrollo/laravel-postgres-extended-schema
Package laravel-postgres-extended-schema
Short Description Eloquent Extended, added some PostgreSQL features
License MIT
Informations about the package laravel-postgres-extended-schema
Laravel Postgres Extended
Introduction
An extended PostgreSQL driver for Laravel 9+ with support for some aditional PostgreSQL data types: hstore, uuid, geometric types (point, path, circle, line, polygon...) and support for WITH [RECURSIVE] clause
Installation
Simple run composer require emiliopedrollo/laravel-postgres-extended-schema
in your project root directory.
Then you are done.
Usage
- SELECT Queries
- INSERT/UPDATE/DELETE Queries
- Eloquent
- Recursive Relationships
SELECT Queries
Use withExpression()
and provide a query builder instance, an SQL string or a closure:
Use withRecursiveExpression()
for recursive expressions:
You can provide the expression's columns as the third argument:
INSERT/UPDATE/DELETE Queries
You can use common table expressions in INSERT
, UPDATE
and DELETE
queries:
Eloquent
You can use common table expressions in Eloquent queries.
Recursive Relationships
If you want to implement recursive relationships, you can use this package: staudenmeir/laravel-adjacency-list
All versions of laravel-postgres-extended-schema with dependencies
ext-pdo Version *
illuminate/database Version ^9.0|^10.0|^11.0
ramsey/uuid Version ^3.9.2|^4.0
doctrine/dbal Version ^2.12|^3.0