From 0cb57956c91eb976b0499f0d702698f04b54e458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helge=20He=C3=9F?= Date: Sun, 30 Jun 2024 16:46:21 +0200 Subject: [PATCH] Revert "Make `useInsertReturning` a variable" This reverts commit d1ca4f5123bd0b990b841238bf63a887c5e24d39. --- .../RecordGeneration/GenerateDatabaseStruct.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Libraries/LighterGeneration/RecordGeneration/GenerateDatabaseStruct.swift b/Plugins/Libraries/LighterGeneration/RecordGeneration/GenerateDatabaseStruct.swift index c3bc6e2..7d70c76 100644 --- a/Plugins/Libraries/LighterGeneration/RecordGeneration/GenerateDatabaseStruct.swift +++ b/Plugins/Libraries/LighterGeneration/RecordGeneration/GenerateDatabaseStruct.swift @@ -84,7 +84,7 @@ extension EnlighterASTGenerator { // Whether SQLite3 supports returning (the user can override!) - typeVariables.append(.var( + typeVariables.append(.let( public: options.public, "useInsertReturning", is: .cmp( .call(name: "sqlite3_libversion_number"),