-
Notifications
You must be signed in to change notification settings - Fork 433
Closed
Labels
Description
Input data
Which SQL and options did you provide as input?
options = { language: 'postgresql' };
Expected Output
LIMIT
--limit special in this case as there is sensitivity on max
LEAST(100, COALESCE('__limit', 20));
Actual Output
LIMIT
--limit special in these case as there is sensitivity on max LEAST(100, COALESCE('__limit', 20));
Usage
- How are you calling / using the library?
calling inside a Jest snapshot-serializer - What SQL language(s) does this apply to?
postgresql - Which SQL Formatter version are you using?
The issue appeared after upgrading to v8.0.2 (from v7.0.4)