Jasonzyt-Archives / LiteDatabase

The database module for LiteLoader(Temporary repo)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LiteLoader Database API

Usage

Session

Header <Session.h>
Namespace LLDB

::newSession

  • 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);

Session::open

  • Summary: Open the database connection
  • Params:
    • args: The ConnectionArgs object
  • Return: void
  • Throw: LLDB::Exception
  • Example
sess.open({})

About

The database module for LiteLoader(Temporary repo)


Languages

Language:C++ 96.7%Language:C 3.3%