载入中...
搜索中...
未找到
eve::database 命名空间参考

class  Connection
 SQLite connection with a small ORM layer on top of Poco::Data. Tables/columns are quoted identifiers; values are bound as literals. 更多...
 
class  Database
 Database module (eve.Database): SQLite connection factory. Script: db <- eve.Database(); conn <- db.connectSQLite("game.db"); 更多...
 
struct  Field
 A named field used by the small, explicit ORM mapping layer. 更多...
 
struct  Mapping
 
class  Model
 Runtime ORM model exposed to Squirrel. 更多...
 
class  Query
 Composable filtered/sorted/paged query shared by C++ and scripts. 更多...
 
class  Repository
 Typed active-record repository built from a Mapping<T>. 更多...
 

类型定义

using Value = std::variant< std::monostate, std::int64_t, double, std::string, bool >
 
using Row = std::unordered_map< std::string, Value >
 

函数

 Module_IMPL (Database, new Database())
 

类型定义说明

◆ Row

using eve::database::Row = typedef std::unordered_map<std::string, Value>

在文件 Database.h25 行定义.

◆ Value

using eve::database::Value = typedef std::variant<std::monostate, std::int64_t, double, std::string, bool>

在文件 Database.h24 行定义.

函数说明

◆ Module_IMPL()

eve::database::Module_IMPL ( Database  ,
new   Database() 
)