SNOW-1842116: Typescript: getResultsFromQueryId
expects option of type StatementOption
. sqlText
should therefore be optional.
#978
Labels
bug
Something isn't working
status-triage_done
Initial triage done, will be further handled by the driver team
The typescript type for the
connect.getResultsFromQueryId
options
argument isStatementOption
, This is shared withconnection.execute
so I would expect thesqlText
to be optional.It would probably be a better idea to give
getResultsFromQueryId
its own argument type.This code yields a typescript error
This code passes the typescript validation, but I don't know if it actually works.
The text was updated successfully, but these errors were encountered: