From a971e8bcafe7ad41111793690f0a96b5e6978367 Mon Sep 17 00:00:00 2001 From: Lucas Fernandes da Costa Date: Thu, 7 Nov 2024 14:40:21 -0300 Subject: [PATCH] update 'run selected block' docs --- docs/settings/page-settings.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/settings/page-settings.mdx b/docs/settings/page-settings.mdx index 797ce57a..bd2944d2 100644 --- a/docs/settings/page-settings.mdx +++ b/docs/settings/page-settings.mdx @@ -17,3 +17,11 @@ Everytime your Briefer environment restarts, it will discard the in-memory state Therefore, Briefer automatically tries to run blcoks before the one you're currently running. That way, we can regenerate the state of previous variables. If you don't want this behavior, you can disable it by toggling the "Auto-run pending blocks" switch to off. + +## Run selected SQL only + +When you run a SQL block, Briefer will run its entire content by default. + +If you only want to run a specific part of the SQL block, you need to enable the "Run selected SQL only" switch. + +After enabling this setting, Briefer will only run the SQL code you've selected. If you haven't selected any code, Briefer will run the entire block.