-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added docs for SET and SHOW CONFIG query (#1323)
Resolved #1312 partially, limited to the SQL queries themselves
- Loading branch information
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
SET CONFIG | ||
============== | ||
|
||
.. _set_config: | ||
|
||
Sets the value of a configuration parameter to the passed value. Both `TO` and `=` are valid assignment operators. | ||
|
||
.. code:: sql | ||
SET OPENAI_KEY TO "abc"; | ||
SET OPENAI_KEY = "abc"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
SHOW CONFIG | ||
============== | ||
|
||
.. _show_config: | ||
|
||
Returns the value of a specified configuration parameter. | ||
|
||
.. code:: sql | ||
SHOW <parameter_name>; | ||
SHOW OPENAI_KEY; |