From 38fbffaf413a7f914a4aeab8e9c812543ff90143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Sat, 2 Nov 2024 17:49:38 +0100 Subject: [PATCH] cheat a little to make the output of FROM duckdb_extensions() more interesting (#1794) --- docs/lib/duckdb.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/lib/duckdb.md b/docs/lib/duckdb.md index 1cdfd72a0..96bd2fe87 100644 --- a/docs/lib/duckdb.md +++ b/docs/lib/duckdb.md @@ -140,7 +140,11 @@ SELECT ST_Area('POLYGON((0 0, 0 1, 1 1, 1 0, 0 0))'::GEOMETRY) as area; To tell which extensions have been loaded, you can run the following query: -```sql echo +```sql +FROM duckdb_extensions() WHERE loaded AND JSON '1'; +``` + +```sql run=false FROM duckdb_extensions() WHERE loaded; ```