Header
<Session.h>
NamespaceLLDB
- Summary: Create a session
- Params:
- dt: The type of the database which you want to connect
- Return: The
Session
object - Note: The object is stored in heap. If you don't need them, plz call
Session::release
to release it. - Example:
auto sess = newSession(LLDB::SQLITE);
- Summary: Open the database connection
- Params:
- args: The
ConnectionArgs
object
- args: The
- Return:
void
- Throw:
LLDB::Exception
- Example
sess.open({})