From 8ac673afcc51d2c71c10714dfdc40d6268c0482e Mon Sep 17 00:00:00 2001 From: Lucas Terriel <44713216+Lucaterre@users.noreply.github.com> Date: Tue, 12 Mar 2024 11:04:16 +0100 Subject: [PATCH] Update dots_db_init.xq --- scripts/dots_db_init.xq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dots_db_init.xq b/scripts/dots_db_init.xq index 737a1a9..12694f0 100644 --- a/scripts/dots_db_init.xq +++ b/scripts/dots_db_init.xq @@ -3,7 +3,7 @@ xquery version '3.0' ; import module namespace dots.lib = "https://github.com/chartes/dots/lib" at "../lib/db_switch_builder.xqm"; import module namespace G = "https://github.com/chartes/dots/globals" at "../globals.xqm"; -if (db:get($G:dots)) +if (db:exists($G:dots)) then update:output("La base de donnée dots existe déjà. ")