Learn R Programming

DBItest (version 1.7.3)

spec_result_clear_result: spec_result_clear_result

Description

spec_result_clear_result

Arguments

Value

dbClearResult() returns TRUE, invisibly, for result sets obtained from both dbSendQuery()

and dbSendStatement().

Failure modes

An attempt to close an already closed result set issues a warning in both cases.

Specification

dbClearResult() frees all resources associated with retrieving the result of a query or update operation. The DBI backend can expect a call to dbClearResult() for each dbSendQuery() or dbSendStatement() call.

See Also

Other result specifications: spec_result_create_table_with_data_type, spec_result_execute, spec_result_fetch, spec_result_get_query, spec_result_roundtrip, spec_result_send_query, spec_result_send_statement