Add PostgreSQL LSP server with directive-scoped REST query API
CI / test (push) Waiting to run

This commit is contained in:
2026-11-20 18:22:13 +03:00
commit 4ecf11af48
32 changed files with 8734 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
-- The server connects to the database named in the nearest directive.
-- Change these URLs to match your PostgreSQL instance.
-- @database: postgresql://postgres:postgres@localhost:5432/postgres
-- Try completion after FROM, hover over users, or place the cursor on the URL.
SELECT id, email
FROM users
ORDER BY id;
-- A second directive switches the database for everything below it.
-- @database: postgresql://postgres:postgres@localhost:5432/analytics
SELECT name, price
FROM widgets
ORDER BY price DESC;