jdorn / sql-formatter

A lightweight php class for formatting sql statements. Handles automatic indentation and syntax highlighting.
http://jdorn.github.com/sql-formatter/
MIT License
3.89k stars 187 forks source link

Added Postgresql array operators. #111

Open daFool opened 2 years ago

daFool commented 2 years ago

Postgresql has support of an array type and there are two operators that break sql-formatter and it's depended php-reports. This pull-request adds support for <@ and >@ operators to sql-formatter.