mirror of
https://github.com/lancedb/lancedb.git
synced 2026-10-20 18:52:28 +00:00
docs(sql): a parameterized query's status follows its result stream
describe() reports running until the reader has received every row of a parameterized query, so callers should open the reader directly instead of waiting for finished.
This commit is contained in:
@@ -1219,7 +1219,9 @@ class DBConnection(EnforceOverrides):
|
||||
Parameters are supported in queries, not in DDL or DML. A
|
||||
parameterized query runs on the call that returns its rows:
|
||||
cancelling it, or dropping its handle before reading, stops it on the
|
||||
server.
|
||||
server. Its status follows that stream as well: ``describe()``
|
||||
reports ``running`` until the reader has received every row, so open
|
||||
``reader()`` directly rather than waiting for ``finished``.
|
||||
|
||||
Local connections do not support SQL.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user