Execute Queries

public virtual const STATUS& execute(const dbstreams::query& sql);
public virtual const STATUS& execute(const parameter_list_t& parameters);

The dbstream calls its provider's execute method whenever a query is inserted.

execute may call upon the native library more than once. It stops when it finds that either: 1) the SQL has been completely processed, or 2) the server has returned a resultset.

If a resultset is returned, execute returns the result of next_row.