Boolean function
AdaBase.Statement.Base.[STMT].data_discarded ()

After a new query, this function returns False until the discard_rest procedure is executed. That procedure releases the result resource. If it was still being used at the time it was released, the data_discarded function returns True until it can be reset by the next query.


See stmt fetch next row for a usage example.


[STMT] is "MySQL.MySQL_statement", "PostgreSQL.PostgreSQL_statement", or "SQLite.SQLite_statement"

See Also