NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
db_interface.hpp 文件参考

数据库抽象接口层 更多...

db_interface.hpp 的引用(Include)关系图:

浏览该文件的源代码.

struct  idb_result
 数据库结果集抽象基类 更多...
struct  idb_tb_result
 关系型数据库结果集抽象基类 更多...
struct  idb_kv_result
 键值存储结果集抽象基类 更多...
struct  idb_prepared_result
 预处理语句执行结果 更多...
struct  idb_prepared_statement
 预处理语句抽象基类 更多...
struct  idb_connect
 数据库连接抽象基类 更多...
struct  idb_tb_connect
 关系型数据库连接抽象基类 更多...
struct  idb_kv_connect
 键值存储连接抽象基类 更多...
class  idb_factory
 数据库连接工厂抽象基类 更多...

详细描述

数据库抽象接口层

此文件定义了数据库访问的抽象接口,支持关系型数据库(SQL)和键值存储(NoSQL)。 通过统一的接口抽象,实现对不同数据库后端的透明访问。

设计目标:

  • 统一的关系型数据库访问接口
  • 统一的键值存储访问接口
  • 支持预处理语句和参数绑定
  • 支持连接池和连接管理
  • 工厂模式创建具体实现

在文件 db_interface.hpp 中定义.