libmdbx  0.11.6.39 (2022-04-13T11:05:50+03:00)
One of the fastest compact embeddable key-value ACID database without WAL.
mdbx::map_handle Struct Reference

A handle for an individual database (key-value spaces) in the environment. More...

#include <mdbx.h++>

Classes

struct  info
 

Public Types

using flags = ::MDBX_db_flags_t
 
using state = ::MDBX_dbi_state_t
 

Public Member Functions

MDBX_CXX11_CONSTEXPR map_handle () noexcept
 
MDBX_CXX11_CONSTEXPR map_handle (MDBX_dbi dbi) noexcept
 
 map_handle (const map_handle &) noexcept=default
 
map_handleoperator= (const map_handle &) noexcept=default
 
 operator bool () const noexcept
 

Public Attributes

MDBX_dbi dbi {0}
 

Detailed Description

A handle for an individual database (key-value spaces) in the environment.

See also
txn::open_map()
txn::create_map()
txn::clear_map()
txn::drop_map()
txn::get_handle_info()
txn::get_map_stat()
env::close_map()
cursor::map()

Member Typedef Documentation

◆ flags

◆ state

Constructor & Destructor Documentation

◆ map_handle() [1/3]

MDBX_CXX11_CONSTEXPR mdbx::map_handle::map_handle ( )
inlinenoexcept

◆ map_handle() [2/3]

MDBX_CXX11_CONSTEXPR mdbx::map_handle::map_handle ( MDBX_dbi  dbi)
inlinenoexcept

◆ map_handle() [3/3]

mdbx::map_handle::map_handle ( const map_handle )
defaultnoexcept

Member Function Documentation

◆ operator bool()

mdbx::map_handle::operator bool ( ) const
inlinenoexcept

◆ operator=()

map_handle& mdbx::map_handle::operator= ( const map_handle )
defaultnoexcept

Member Data Documentation

◆ dbi

MDBX_dbi mdbx::map_handle::dbi {0}

The documentation for this struct was generated from the following file: