@@ -24,7 +24,7 @@ or a connection string in the form of a URL.
2424Connection
2525..........
2626
27- Connection objects are created by the :func: `connect ` function. They are
27+ Connection objects are created by the :func: `singlestoredb. connect ` function. They are
2828used to create :class: `Cursor ` objects for querying the database.
2929
3030.. currentmodule :: singlestoredb.connection
@@ -43,6 +43,59 @@ used to create :class:`Cursor` objects for querying the database.
4343 Connection.disable_data_api
4444
4545
46+ The :attr: `Connection.show ` attribute of the connection objects allow you to access various
47+ information about the server. The available operations are shown below.
48+
49+ .. currentmodule :: singlestoredb.connection
50+
51+ .. autosummary ::
52+ :toctree: generated/
53+
54+ ShowAccessor.aggregates
55+ ShowAccessor.columns
56+ ShowAccessor.create_aggregate
57+ ShowAccessor.create_function
58+ ShowAccessor.create_pipeline
59+ ShowAccessor.create_table
60+ ShowAccessor.create_view
61+ ShowAccessor.databases
62+ ShowAccessor.database_status
63+ ShowAccessor.errors
64+ ShowAccessor.functions
65+ ShowAccessor.global_status
66+ ShowAccessor.indexes
67+ ShowAccessor.partitions
68+ ShowAccessor.pipelines
69+ ShowAccessor.plan
70+ ShowAccessor.plancache
71+ ShowAccessor.procedures
72+ ShowAccessor.processlist
73+ ShowAccessor.reproduction
74+ ShowAccessor.schemas
75+ ShowAccessor.session_status
76+ ShowAccessor.status
77+ ShowAccessor.table_status
78+ ShowAccessor.tables
79+ ShowAccessor.warnings
80+
81+
82+ ShowResult
83+ ^^^^^^^^^^
84+
85+ The results of the above methods and attributes are in the form of a
86+ :class: `ShowResult ` object. This object is primarily used to display
87+ information to the screen or web browser, but columns from the output
88+ can also be accessed using dictionary-like key access syntax or
89+ attributes.
90+
91+ .. currentmodule :: singlestoredb.connection
92+
93+ .. autosummary ::
94+ :toctree: generated/
95+
96+ ShowResult
97+
98+
4699Cursor
47100......
48101
@@ -186,15 +239,15 @@ values.
186239
187240 import singlestoredb as s2
188241
189- s2.describe_option(' results.format ' )
242+ s2.describe_option(' local_infile ' )
190243
191- s2.options.results.format
244+ s2.options.local_infile
192245
193- s2.options.results.format = ' namedtuple '
246+ s2.options.local_infile = True
194247
195- s2.describe_option(' results.format ' )
248+ s2.describe_option(' local_infile ' )
196249
197250 .. ipython :: python
198251 :suppress:
199252
200- s2.options.results.format = ' tuple '
253+ s2.options.local_infile = False
0 commit comments