You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way I would normally work with servers is to prepare statements for each connection, and then reuse these statements.
In Kuery, this is not an easy task.
While it is possible to release prepared statements using the Connection protocol, it is not possible to reset those statements and prepare them for reuse.
Imagine the following scenario:
Prepare statement
For each request:
Execute statement
Iterate results
If a certain condition occurs - break
The problem here is that the statement will be left in a transient state, and cannot be reused until it is reset, because not all results were necessarily fetched.
Something like PQclear for posgresql and sqlite3_reset for sqlite.
The text was updated successfully, but these errors were encountered:
The way I would normally work with servers is to prepare statements for each connection, and then reuse these statements.
In Kuery, this is not an easy task.
While it is possible to
release
prepared statements using theConnection
protocol, it is not possible to reset those statements and prepare them for reuse.Imagine the following scenario:
The problem here is that the statement will be left in a transient state, and cannot be reused until it is reset, because not all results were necessarily fetched.
Something like
PQclear
for posgresql andsqlite3_reset
for sqlite.The text was updated successfully, but these errors were encountered: