◆ ResultSetManager()
299684 : db(db_p.shared_from_this()) {
299685}
◆ Get() [1/2]
| ResultSetManager & duckdb::ResultSetManager::Get |
( |
ClientContext & | context | ) |
|
|
static |
299687 {
299688 return Get(*context.db);
299689}
◆ Get() [2/2]
299691 {
299692 return db_p.GetResultSetManager();
299693}
◆ Add()
299695 {
299696 lock_guard<mutex> guard(lock);
299697 auto &handles = *open_results.emplace(allocator, make_uniq<vector<shared_ptr<BlockHandle>>>()).first->second;
299698 return ManagedResultSet(db, handles);
299699}
◆ Remove()
299701 {
299702 lock_guard<mutex> guard(lock);
299703 open_results.erase(allocator);
299704}
The documentation for this class was generated from the following files: